Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasNext(org.apache.camel.Exchange exchange)
Are the more routing slip(s)?Object
next(org.apache.camel.Exchange exchange)
Returns the next routing slip(s).
-
-
-
Method Detail
-
hasNext
boolean hasNext(org.apache.camel.Exchange exchange)
Are the more routing slip(s)?- Parameters:
exchange
- the current exchange- Returns:
- true if more slips, false otherwise.
-
next
Object next(org.apache.camel.Exchange exchange)
Returns the next routing slip(s).- Parameters:
exchange
- the current exchange- Returns:
- the slip(s).
-
-