Announcement Announcement Module
Collapse
No announcement yet.
Every time lost couple of messages when the target broker is shutdown Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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/

    Comment

    Working...
    X