activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spam trap <nospam.1.friedbad...@spamgourmet.com>
Subject Messages erroneously rejected as duplicates
Date Wed, 28 Oct 2015 09:11:35 GMT
[ActiveMQ 5.11.2, ActiveMQ-CPP 3.9.0]

A message consumer (using ActiveMQ-CPP) receives a message but does
not send an acknowledgement (INDIVIDUAL_ACKNOWLEDGE mode) due an error
elsewhere.  The ActiveMQ consumer is closed and recreated later.

The unacknowledged message is processed by the redelivery plugin in
the server and after 2s being put into the same queue again (with
redelivery=true).

However the message is rejected as a duplicate and the following
message is in the server log:

2015-10-27 16:37:43,023 | TRACE | ActiveMQ NIO Worker 633 | Queue |
che.activemq.broker.region.Queue 1715 | 105 -
org.apache.activemq.activemq-osgi - 5.11.1 | ack of
ID:...-33658-1445944844467-3:4:619:1:1 with MessageAck {commandId =
20521, responseRequired = false, ackType = 1, consumerId =
ID:...-45704-1445944819211-0:1:3:1, firstMessageId =
ID:...-33658-1445944844467-3:4:619:1:1, lastMessageId =
ID:...-33658-1445944844467-3:4:619:1:1, destination = queue://msgout,
transactionId = null, messageCount = 1, poisonCause =
javax.jms.JMSException: Suppressing duplicate delivery on connection,
consumer ID:...-45704-1445944819211-0:1:3:1} 

Please advise.


Mime
View raw message