Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Transactional Client Processing with Adapters | Using Transaction Processing | Beginning a Transaction | Publishing Events within a Transaction
Publishing Events within a Transaction
Your application publishes the events that make up the transaction in the manner described in Publishing and Delivering Events.
Remember to set the transactionId envelope field of each event with the transaction identifier you used when you began the transaction.
Any event that is published with a transactionId that is not known to the adapter will return an error event.
Whether or not your application will receive an acknowledgment event or a reply event for each event it publishes depends on how the event type was defined.
Even if an adapter can successfully receive the Adapter::beginTransaction and Adapter::endTransaction events, it must have permission to subscribe to the request events that make up the transaction.