activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Romanchuk <alexey.romanc...@gmail.com>
Subject Message not sent to consumers after restart
Date Thu, 26 Nov 2009 11:35:19 GMT

Hello All!

I have strange situation with last activemq and broker restart.

1. Sent 1000 messages to queue. There is 10 threads of consumers.
2. Stop listeners, stop broker. Some messages are in queue.
3. Start broker, start listeners. 
4. All messages except 10 are processed. 10 messages are still in queue. Via
jmx I saw queuesize = 10, inflightcount = 10;

I debugged jdbcPersistenceAdapter and found that I still had records in
database for these 10 messages. Query to get messages is based on id >
lastMessageId and all messages in database had id < lastMessageId.

Could anyone explain how it can be. And how it can be fixed?

Thanks!
-- 
View this message in context: http://old.nabble.com/Message-not-sent-to-consumers-after-restart-tp26526693p26526693.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message