You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by devMQ <ma...@outlook.com> on 2014/02/05 07:18:26 UTC
Topic messages enqueued X but dequeued is less than the X
Having a simple topic created for 1 consumer subscription, sending X no. of
messages from producer but only (X-y) no. of messages are getting consumed
in the onMessage(). The admin console attached below:
<http://activemq.2283324.n4.nabble.com/file/n4677450/ActiveMQ.snapshot.png>
Have tried to acknowledge using explicitly client ack also played around the
setting in the activemq.xml file too: some changes done
<pendingMessageLimitStrategy>
<constantPendingMessageLimitStrategy limit="50"/>
</pendingMessageLimitStrategy>
<systemUsage>
<systemUsage>
<memoryUsage>
<memoryUsage limit="64 mb"/>
</memoryUsage>
<storeUsage>
<storeUsage limit="100 gb"/>
</storeUsage>
<tempUsage>
<tempUsage limit="10 gb"/>
</tempUsage>
</systemUsage>
</systemUsage>
<transportConnectors>
<transportConnector name="stomp"
uri="tcp://localhost:61616?maximumConnections=1000&wireformat.maxFrameSize=104857600"/>
<transportConnector name="amqp"
uri="amqp://localhost:5672?maximumConnections=1000&wireformat.maxFrameSize=104857600"/>
</transportConnectors>
Not sure where the message are getting lost! Some runs give the desired
result - no. of messages enqueued = no. of messages dequeued. And have the
processing done right in the onMessage().
Any suggestions / thoughts here is appreciated here. (Hope i have
articulated well to understand the issue i am facing)..
Thanks in Advance :)
Maurya
--
View this message in context: http://activemq.2283324.n4.nabble.com/Topic-messages-enqueued-X-but-dequeued-is-less-than-the-X-tp4677450.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.