On 07/28/2014 01:11 AM, Kevin Burton wrote:
I'm migrating from CLIENT_ACKNOWLEDGE to SESSION_TRANSACTED because I need
to send maybe a dozen new messages and then acknowledge the current message
all at once.

So it seems like:

message.acknowledge()

and

session.commit()

are analogous…

.. IE I have to ALWAYS call session.commit() or the last consumed message
won't be acknowledged.

Is this correct?

You need to spend some time reading the JMS tutorials that are available, such as:
http://docs.oracle.com/javaee/1.3/jms/tutorial/1_3_1-fcs/doc/jms_tutorialTOC.html

--
Tim Bish
Sr Software Engineer | RedHat Inc.
[email protected] | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/

Reply via email to