activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From winking <>
Subject Duplicates are sent to DLQ
Date Mon, 21 Aug 2017 07:47:32 GMT
I am using ActiveMQ 5.15.0 in a scenario where 300 producers are sending
each every 5 seconds an event to one and the same queue. Since upgrading to
5.15.0 all duplicates which were detected by the audit process are forwarded
to the DLQ, which is not wanted. This leads to the issue that alot of
journal files of the kahadb are not cleaned because duplicates in DLQ are
blocking the removal.
According to the documentation this must not happen if a dead letter
strategy is configured:
 *"The dead letter strategy has an message audit that is enabled by default.
This prevents duplicate messages from being added to the configured DLQ"* (
source <> 
I found in the release notes of 5.15.0 a hint that this should be already
fixed, but I cannot confirm:  ticket
In my activemq.log I can find messages like:
2017-08-17 12:32:43,121 | WARN |,batchResetNeeded=false,size=0,cacheEnabled=true,maxBatchSize:1,hasSpace:true,pendingCachedIds.size:1,lastSyncCachedId:null,lastSyncCachedId-seq:null,lastAsyncCachedId:ID:09DC12000893-2955-636385757120625000-1:1:1:1:172,lastAsyncCachedId-seq:1626,store=permits:9999,sd=nextSeq:1629,lastRet:MessageOrderCursor:[def:0,
low:0, high:0],pending:0 - cursor got duplicate send
ID:09FC12000801-1834-636385719159843750-1:1:1:1:944 seq:$StoreQueueTask$InnerFutureTask@3fffe287
| | ActiveMQ
NIO Worker 5
2017-08-17 12:32:43,126 | WARN | duplicate message from store
ID:09FC12000801-1834-636385719159843750-1:1:1:1:944, *redirecting for dlq
processing* | | ActiveMQ NIO Worker
Parts of activemq.xml:

Is this a bug or am I doing something wrong?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message