activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject Are session.commit() and message.acknowledge() analogous ?
Date Mon, 28 Jul 2014 05:11:32 GMT
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?

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message