activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Truitt (JIRA)" <>
Subject [jira] [Commented] (AMQ-4827) Set jms.queuePrefetch=1 Causes Messages To Be Stuck in Queue
Date Thu, 31 Oct 2013 16:27:19 GMT


Benjamin Truitt commented on AMQ-4827:

Awesome. Thanks for the fast response!  

In that case, we may want to convert this bug report to a request to improve the documentation
at to include the information

Thanks again.

> Set jms.queuePrefetch=1 Causes Messages To Be Stuck in Queue
> ------------------------------------------------------------
>                 Key: AMQ-4827
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.7.0, 5.8.0
>            Reporter: Yung Lai
> Configuration:
> connectionUri=tcp://localhost:61616?jms.prefetchPolicy.queuePrefetch=1&keepAlive=true
> activemq.conf is default with no changes
> Scenario:
> Sent 7 different messages to the same queue. With prefetch=1 about 1 or 2 messages would
get stuck in the queue everytime. After a restart of activemq the messages that were stuck
in queue would be processed.
> With cachingConsumers=false the messages would not get stuck.
> We need cachingConsumers for better performance so setting it to false is not an option
for us.
> Here is a thread that is very similar to the issue.
> Thank you for your time and consideration.

This message was sent by Atlassian JIRA

View raw message