Results 1 to 2 of 2

Thread: Every time lost couple of messages when the target broker is shutdown

  1. #1
    Join Date
    Sep 2012
    Posts
    7

    Default Every time lost couple of messages when the target broker is shutdown

    Hi Experts

    I am working on a test with Spring-AMQP and Rabbit server 2.8.2 version.

    The test is basically related to the fail-over and every time the test lost some messages (4-5) when I shutdown the target rabbit server. Is there any way to overcome this?

    How do I test
    1. Sending batch of messages with spring-amqp.
    2. While the program send messages, I am killing the target rabbit server.
    3. Spring-amqp connects to the other cluster node. But within that connection transition, some messages are lost.

    Thanks,

    /Roshan.

  2. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,037

    Default

    Transactions and HA queues.

    However, you'll get much better performance with publisher confirms (but it requires your client to keep track of unconfirmed messages and resend them).

    http://www.rabbitmq.com/blog/2011/02...sher-confirms/
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

Posting Permissions

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