public interface RouteboxDispatchStrategy
Modifier and Type | Method and Description |
---|---|
URI |
selectDestinationUri(List<URI> destinations,
org.apache.camel.Exchange exchange)
Receives an incoming exchange and consumer list and identifies the inner route consumer for dispatching the exchange
|
URI selectDestinationUri(List<URI> destinations, org.apache.camel.Exchange exchange) throws Exception
destinations
- the list of possible real-time inner route consumers available
to where the exchange can be dispatched in the routeboxexchange
- the incoming exchangeException
- is thrown if errorApache Camel