mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-06 01:10:14 +00:00
This commit contains these changes: * Change example documentation to use markdown * Generate HTML doc based on markdown during release * Fix XML formatting in some examples * Repair out-of-date documentation
9 lines
603 B
Markdown
9 lines
603 B
Markdown
# JMS Transactional Session Example
|
|
|
|
To run the example, simply type **mvn verify** from this directory, or **mvn -PnoServer verify** if you want to start and create the broker manually.
|
|
|
|
This example shows you how to use a transacted Session with ActiveMQ Artemis.
|
|
|
|
Firstly 2 messages are sent via the transacted sending session before being committed. This ensures that both message are sent
|
|
|
|
Secondly the receiving session receives the messages firstly demonstrating a message being redelivered after the session being rolled back and then acknowledging receipt of the messages via the commit method. |