Versions Compared

Key

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

...

5. Define two XA datasources for above two datasources.

36. Create two database instances, this will be used by the two XA data sources.

Info
titleTip

Refer the "Sample Setup Guide" to see how you can set up the derby database server.

Now you have a running ESB instance and a back-end service deployed.

Executing the Sample

We run this setup using the sample Stock Quote Client which can operate in several modes. For instructions on this sample client and its operation modes, refer to Stock Quote Client.

 

In this sample a record is delete from one database and it is added into the second database. If either of the operations(deleting from the first database and adding into the second database) fails everything will be roll backed. The records will be untouched.

...