-
Apr 7th, 2011, 02:38 PM
#1
Messages struck on queue in ActiveMQ some times
Hi,
Some time the consumers (Spring Message Listener) could not get messages from ActiveMQ queue. after running for couple of days.
this might be other way too..queue might not deliver messages to consumers.
I hope nothing wrong with Spring Default Message Listeners..!
So in order to PULL messages from queue we need to set the queue prefetch policy = 0 in activemq connection URL.
But here is a limitation, If you are using a spring JMS message Listener API, You can not supply a 0 for prefetch. in such cases you can only give 1
WHY WHY? Please explain.
here is useful links on this issue and this limitation...
http://activemq.apache.org/what-is-t...limit-for.html
https://jira.springsource.org/browse/SPR-5110
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules