|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Flow
A Flow provides different dispatch policies within the NMR
| Field Summary |
|---|
| Fields inherited from interface javax.jbi.management.LifeCycleMBean |
|---|
SHUTDOWN, STARTED, STOPPED, UNKNOWN |
| Method Summary | |
|---|---|
boolean |
canHandle(javax.jbi.messaging.MessageExchange me)
Check if the flow can support the requested QoS for this exchange |
Broker |
getBroker()
Get the broker associated with this flow |
String |
getDescription()
The description of Flow |
String |
getName()
The unique name of Flow |
void |
init(Broker broker)
Initialize the Region |
void |
resume()
resume message exchange processing |
void |
send(javax.jbi.messaging.MessageExchange me)
Distribute an ExchangePacket |
void |
suspend()
suspend the flow to prevent any message exchanges |
| Methods inherited from interface javax.jbi.management.LifeCycleMBean |
|---|
getCurrentState, shutDown, start, stop |
| Method Detail |
|---|
void init(Broker broker)
throws javax.jbi.JBIException
broker -
javax.jbi.JBIExceptionString getDescription()
String getName()
void send(javax.jbi.messaging.MessageExchange me)
throws javax.jbi.JBIException
packet -
javax.jbi.JBIExceptionvoid suspend()
void resume()
Broker getBroker()
boolean canHandle(javax.jbi.messaging.MessageExchange me)
me - the exchange to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||