THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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
...