...
To start a local JMS transaction, define the following property in JMS transport Listner/Sender in axis2.xml
(see more information about transports in WSO2 Carbon Transports and Transports).
Code Block |
---|
<parameter name="transport.jms.SessionTransacted">true|false</parameter>
|
By default, the session is not transacted and if you want to use JMS local transaction, set the above parameter to true. And you need to set the following property in synapse fault handler to rollback the transaction in case of a failure.
Code Block |
---|
<property name="SET_ROLLBACK_ONLY" value="true" scope="axis2"/>
|
...
Transaction Mediator Configuration
Code Block |
---|
<transaction action="new|use-existing-or-new|fault-if-no-tx|commit|rollback|suspend|resume"/>
|
...
Info | ||
---|---|---|
| ||
See how you can deploy ESB on JBoss. An example is available in the "Deploying WSO2 ESB-3.0.0 on JBoss-5.1.0.GA" article which demonstrates the distributed transaction support. |
Excerpt | ||
---|---|---|
| ||
General information about the transactions in WSO2 ESB. |