org.apache.camel
Interface Navigate<T>

All Known Subinterfaces:
Channel
All Known Implementing Classes:
Aggregator, AOPProcessor, BatchProcessor, CatchProcessor, ChoiceProcessor, CompositeProcessor, DefaultChannel, Delayer, DelayInterceptor, DelayProcessorSupport, DelegateProcessor, FailOverLoadBalancer, FilterProcessor, HandleFaultInterceptor, IdempotentConsumer, InstrumentationProcessor, InterceptEndpointProcessor, LoadBalancerSupport, LoopProcessor, MulticastProcessor, Pipeline, QueueLoadBalancer, RandomLoadBalancer, Resequencer, RoundRobinLoadBalancer, Splitter, StickyLoadBalancer, StreamCachingInterceptor, StreamResequencer, ThreadsProcessor, Throttler, TopicLoadBalancer, TraceInterceptor, TransformProcessor, TryProcessor, UnitOfWorkProcessor

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:
$Revision: 769303 $

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