Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 9. Enabling JBoss Messaging Ordering Group
In the case of the transactional receipt of messages, the next message is not delivered until the transaction has been committed which includes the acknowledgment of the receipt of the current message. If the transaction is rolled back, the message is canceled, sent back to the JMS server, and made available for the next delivery.
9.1. Acknowledge Mechanism Link kopierenLink in die Zwischenablage kopiert!
- In the
CLIENT_ACKNOWLEDGE
mode, the completion state is signalized by theMessage.acknowledge()
method. - In the
AUTO_ACKNOWLEDGE
andDUPS_OK_ACKNOWLEDGE
modes, the completion is signalized by either of the following:- a successful return from one of the
MessageConsumer
.receive()
methods, or - a successful return from the
onMessage()
call of theMessageListener()
.
Note
*_ACKNOWLEDGE
was called prior to the closure of the consumer.