This sample demonstrates the functionality of theusing a sample distributed transaction. In this sample, a record is deleted from one database and added to a second database. If either of the operations (deleting from the first database and adding to the other) fails, all operations will roll back, and the records will not change.
For a list of general prerequisites, see Setting Up the ESB Samples.
- For information on creating database instances, see Setting up the Physical Database.
- For information on how you can set up the Derby database server, see Setting Up the ESB Samples.
- For information on creating the two sample XA data sources, see Adding Datasources and Transaction Examples.
Building the sample
The XML configuration for this sample is as follows: