org.apache.servicemix.jbi.nmr.flow
Class DefaultFlowChooser
java.lang.Object
org.apache.servicemix.jbi.nmr.flow.DefaultFlowChooser
- All Implemented Interfaces:
- FlowChooser
public class DefaultFlowChooser
- extends Object
- implements FlowChooser
|
Method Summary |
Flow |
chooseFlow(Flow[] flows,
javax.jbi.messaging.MessageExchange exchange)
Choose a flow amongst the available flows. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFlowChooser
public DefaultFlowChooser()
chooseFlow
public Flow chooseFlow(Flow[] flows,
javax.jbi.messaging.MessageExchange exchange)
throws javax.jbi.messaging.MessagingException
- Description copied from interface:
FlowChooser
- Choose a flow amongst the available flows.
- Specified by:
chooseFlow in interface FlowChooser
- Returns:
- the selected flow (must be non-null)
- Throws:
javax.jbi.messaging.MessagingException - if a flow can not be chosen
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.