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

    Modifier and Type
    Method
    Description
    boolean
    hasNext(org.apache.camel.Exchange exchange)
    Are the more routing slip(s)?
    next(org.apache.camel.Exchange exchange)
    Returns the next routing slip(s).
  • Method Details

    • 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).