THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
These combined parameters defined the QoS for a given exchange, and depending on this QoS, a flow will be selected fo of convey this particular exchange.
...
Code Block | ||
---|---|---|
| ||
TransactionManager tm = (TransactionManager) getContext().getTransactionManager(); tm.begin(); InOut me = createInOut(); getContext().getDeliveryChannel().sendSync(me); // retrieve the out message me.setStatus(ExchangeStatus.DONE); getContext().getDeliveryChannel().sendSyncsend(me); tm.commit(); |
Sending asynchronous transactional exchanges
...