org.apache.camel.processor
Interface RoutingSlip.RoutingSlipIterator

Enclosing class:
RoutingSlip

protected static interface RoutingSlip.RoutingSlipIterator

The iterator to be used for retrieving the next routing slip(s) to be used.


Method Summary
 boolean hasNext(Exchange exchange)
          Are the more routing slip(s)?
 Object next(Exchange exchange)
          Returns the next routing slip(s).
 

Method Detail

hasNext

boolean hasNext(Exchange exchange)
Are the more routing slip(s)?

Parameters:
exchange - the current exchange
Returns:
true if more slips, false otherwise.

next

Object next(Exchange exchange)
Returns the next routing slip(s).

Parameters:
exchange - the current exchange
Returns:
the slip(s).


Apache CAMEL