Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Are session.commit() and message.acknowledge() analogous ?

$
0
0
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>

Viewing all articles
Browse latest Browse all 5648

Trending Articles