org.apache.servicemix.jbi.nmr.flow
Interface FlowChooser

All Known Implementing Classes:
DefaultFlowChooser

public interface FlowChooser


Method Summary
 Flow chooseFlow(Flow[] flows, javax.jbi.messaging.MessageExchange exchange)
          Choose a flow amongst the available flows.
 

Method Detail

chooseFlow

Flow chooseFlow(Flow[] flows,
                javax.jbi.messaging.MessageExchange exchange)
                throws javax.jbi.messaging.MessagingException
Choose a flow amongst the available flows.

Parameters:
flows -
exchange -
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.