Testing the sample scenario
In order to simulate the successful scenario, the message should mediate successfully.
When You can test the sample scenario as follows.
If the message mediates successfully, you will view the output on the Axis2 server start-up console will be as follows:
The . Also, the ESB debug log will display an INFO message as follows, indicating that the transaction is committed.
In order to simulate the failure scenario, you need to stop Stop the sample Axis2 Server and and execute the JMS client once again.
In again to simulate the failure scenario. In this scenario, the ESB debug log will display an INFO message as follows, indicating that the transaction is rolled back.
JMS distributed transactions