-
Bug
-
Resolution: Done
-
Major
-
JBoss A-MQ 6.2.1
-
None
-
Workaround Exists
-
-
This issue only occurs if a consumer has a prefetch=0 (consumer using pull requests).
If the message expires on the consumer in org.apache.activemq.ActiveMQMessageConsumer before the message is dispatched to the application code , the consumer can become hung in the
following scenario.
at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:502) at org.apache.activemq.FifoMessageDispatchChannel.dequeue(FifoMessageDispatchChannel.java:72) - locked <0x00000000fadaaa58> (a java.lang.Object) at org.apache.activemq.ActiveMQMessageConsumer.dequeue(ActiveMQMessageConsumer.java:482) at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:637)
Workaround: call "connection.setConsumerExpiryCheckEnabled(false)" on the consumer connectionFactory to ensure the message is not expired on the consumer.
- is related to
-
ENTMQ-1776 QueueBrowser does not reflect message that are expired.
- Closed
-
ENTMQ-1846 [message expiry, consumer side] message can remain inflight after expired by consumer side
- Closed