activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oseymen <>
Subject Re: Message loss in network of brokers - transactional send
Date Mon, 22 Aug 2011 15:01:39 GMT
>> "Also, I think a send transaction would help, it should encompass all of
the composite destinations."

That is correct. When I send messages in transaction, I get no message loss
- but both JMX and admin console pending message count displays wrong

My setup is still same - 2 brokers, connected with network of brokers. (Just
to remind you:) Messages are flowing from broker1 to broker2. On broker2, I
have configured the replicated queue as a composite queue so that I can
divert incoming messages into multiple queues in broker2.

When I send 3000 messages to broker1 (in transaction) and start killing
brokers one by one randomly while messages are flowing, I end up having 3001
or 3002 pending messages count. When I execute a consumer on broker2, I can
consume 3000 messages which is perfect. But admin console reports there is 1
message pending. When I browse the messages in the queue using admin
console, it displays no messages. So even though there are no messages
pending, somehow, JMX and admin console thinks that there is 1 message
pending. When I restart broker2, pending messages count corrects itself and
reports 0 in admin console.

Have you ever encountered this problem before? Number of pending messages
counter is very important for me for monitoring purposes. If it says 1
message is pending even though its not, I will get monitoring nightmares.

I'd really appreciate any help or information.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message