Announcement Announcement Module
Collapse
No announcement yet.
Messages struck on queue in ActiveMQ some times Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X