Basic Transaction Support
An adapter with basic transaction support allows your Broker client to begin a transaction, publish the events that make up the transaction, and then COMMIT or ROLLBACK the events. The SAVEPOINT operation is not supported. Here are the other features of basic transaction support:
After a
ROLLBACK operation, all request events in the transaction are discarded and will not generate any reply events, not even error replies.
The
COMMIT and
ROLLBACK operations both return an acknowledgment.
Any request event that generates an error following a
COMMIT operation will cause subsequent events to be discarded. Furthermore, any changes from prior events will be rolled back. If an error occurs, the
Adapter:endTransaction event will also return an error.
Basic transaction processing