Results 1 to 4 of 4

Thread: 1.0.0.M2 Auto-Ack Problem

  1. #1
    Join Date
    Aug 2008
    Posts
    15

    Default 1.0.0.M2 Auto-Ack Problem

    I recently switched my app from 1.0.0.M1 to M2, and have noticed that now when I monitor runs in the rabbit admin console, I no longer see un-ack'd messages in the queue. This makes me worry that messages are being auto acknowledged at the time of delievery.

    This seems to be a problem in case the message experiences a problem during processing, as there won't be any way for the listener to send a reject and put it back on the queue.

    Can someone provide some update as to what the changes were for this between M1 and M2, as the release notes don't say anything about it,.

  2. #2
    Join Date
    Aug 2008
    Posts
    15

    Default

    So I solved this problem. When moving to M2, you have to explicitly set the listener to Transctional and supply a transaction manager. Then it starts acking messages correctly

  3. #3
    Join Date
    Aug 2008
    Posts
    15

    Default

    Coincidentally,this should have been in the release notes. As switching to start auto-acking messages is kind of a big deal.

  4. #4
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    The transaction and acking options are described in the user guide (a new section in M2): http://static.springsource.org/sprin...single/#d0e495. A transaction manager is optional, and auto-ack should still be the default, so if it's not it's a probably a bug.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •