org.apache.camel
Interface Navigate<T>

All Known Subinterfaces:
Channel, ModelChannel
All Known Implementing Classes:
AggregateProcessor, AOPProcessor, BatchProcessor, CatchProcessor, ChildUnitOfWorkProcessor, ChoiceProcessor, DefaultChannel, Delayer, DelayInterceptor, DelayProcessorSupport, DelegateAsyncProcessor, DelegateProcessor, DirectVmProcessor, FailOverLoadBalancer, FatalFallbackErrorHandler, FilterProcessor, HandleFaultInterceptor, IdempotentConsumer, InstrumentationProcessor, InterceptEndpointProcessor, LoadBalancerSupport, LoopProcessor, MulticastProcessor, Pipeline, QueueLoadBalancer, RandomLoadBalancer, RecipientListProcessor, Resequencer, RoundRobinLoadBalancer, RouteContextProcessor, RouteInflightRepositoryProcessor, RoutePolicyProcessor, SamplingThrottler, SimpleLoadBalancerSupport, Splitter, StickyLoadBalancer, StreamCachingInterceptor, StreamResequencer, SubUnitOfWorkProcessor, Throttler, TopicLoadBalancer, TraceInterceptor, TryProcessor, UnitOfWorkProcessor, WeightedLoadBalancer, WeightedRandomLoadBalancer, WeightedRoundRobinLoadBalancer, WrapProcessor

public interface Navigate<T>

Implementations support navigating a graph where you can traverse forward and each next returns a List of outputs of type T that can contain 0..n nodes.

Version:

Method Summary
 boolean hasNext()
          Are there more outputs?
 List<T> next()
          Next group of outputs
 

Method Detail

next

List<T> next()
Next group of outputs

Returns:
next group or null if no more outputs

hasNext

boolean hasNext()
Are there more outputs?

Returns:
true if more outputs


Apache CAMEL