When sending a JMS message using AUTO_ACKNOWLEDGMENT
, the message is auto-ack'ed by the server. If the server throws a JMSException back to the client, something went wrong and the message was either not received or persisted by the server; this is the signal to resend the message.
If no exception is thrown, you can assume the message was received by the server. You don't need a separate ACK
channel for this; it's implied through JMS.
Additional Info https://stackoverflow.com/a/11673930/791406