2 Replies Latest reply on Mar 13, 2009 10:58 AM by Torsten Mielke

    Was this exception caused by purging a queue?

    Steve Weet Newbie

      I have seen the following error within the logs produced by our AMQ Consumers.

       

      Could this error have been caused by someone purging the queue, which I think may have happened at roughly the same time.

       

      03-12@14:46:26 WARN     (ActiveMQConnection.java:1660)     - Async exception with no exception listener: javax.jms.JMSException: Unmatched acknowledege: MessageAck {commandId = 133126, responseRequired = false, ackType = 2, consumerId = ID:rtgs-prdcom02.romtracplc.local-56549-1236855505242-0:0:33:4807, firstMessageId = null, lastMessageId = ID:rtgs-prdcom02.romtracplc.local-56549-1236855505242-0:0:36:1:3081, destination = queue://device.firstConfigMessage, transactionId = null, messageCount = 1}; Expected message count (1) differs from count in dispatched-list (498)javax.jms.JMSException: Unmatched acknowledege: MessageAck {commandId = 133126, responseRequired = false, ackType = 2, consumerId = ID:rtgs-prdcom02.romtracplc.local-56549-1236855505242-0:0:33:4807, firstMessageId = null, lastMessageId = ID:rtgs-prdcom02.romtracplc.local-56549-1236855505242-0:0:36:1:3081, destination = queue://device.firstConfigMessage, transactionId = null, messageCount = 1}; Expected message count (1) differs from count in dispatched-list (498)        at org.apache.activemq.broker.region.PrefetchSubscription.assertAckMatchesDispatched(PrefetchSubscription.java:443)

              at org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(PrefetchSubscription.java:192)

              at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:377)

              at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:462)

              at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)

              at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74)

              at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:74)

              at org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:85)

              at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:458)

              at org.apache.activemq.command.MessageAck.visit(MessageAck.java:205)

              at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305)

              at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)

              at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)

              at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143)

              at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206)

              at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)        at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:203)        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185)        at java.lang.Thread.run(Thread.java:595)