This documentation is for WSO2 Enterprise Service Bus version 5.0.0. For the latest ESB, view the latest WSO2 Enterprise Integrator documentation.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Testing the sample scenario

Successful scenario

In order to simulate the successful scenario, the message should mediate successfully.

When You can test the sample scenario as follows.

Successful scenario

If the message mediates successfully, you will view the output on the Axis2 server start-up console will be as follows:

Image Removed

The . Also, the ESB debug log will display an INFO message as follows, indicating that the transaction is committed. 

Image Removed

Failure Scenario

In order to simulate the failure scenario, you need to stop the 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.

Image Removed

...

JMS distributed transactions 
Anchor
Distributed
Distributed

...