activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiunjiunma <>
Subject Re: Will messages in DLQ be store-forwarded in network-of-broker setting?
Date Mon, 12 Nov 2012 19:25:50 GMT
Sure. I am using the sample configurations bundled with activemq 5.7. They
are the same as activemq-static-network-broker1.xml and
activemq-static-network-broker2.xml. I commented out the deadLetterStrategy
section but they behave the same whether it's per queue DLQ or in shared DLQ



ceposta wrote
> Can you post your network connector configuration?
> On Mon, Nov 12, 2012 at 11:21 AM, jiunjiunma &lt;

> jiunjiunma@

> &gt; wrote:
>> I had a small test case that cleans up the ActiveMQ DLQ. It works fine
>> when I
>> am running a single broker. When I ran a network of brokers (2 static
>> brokers using per queue based DLQ setting), I noticed the client code
>> (with
>> uri=failover://(tcp://localhost:61616,tcp://localhost:61618)?randomize=true)
>> only remove the messages from the instance DLQ it connected to. It seems
>> the
>> client consumer was only able to access the DQL the activemq instance is
>> current connected to and if the message happened to be on the other
>> broker
>> then it was not able to be deleted.
>> It was a bit surprise to me because I would expect the DLQ should be
>> behaved
>> the same as the normal queues and messages should be processed by the
>> consumer regardless of the broker it connected to. Is this the expected
>> behavior? Or my understanding was wrong that the DLQ messages will not be
>> store-and-forwarded to the other brokers?
>> I'd appreciate it if anybody can shed some light on it.
>> Thanks,
>> --Jiunjiun
>> --
>> View this message in context:
>> Sent from the ActiveMQ - User mailing list archive at
> -- 
> *Christian Posta*
> twitter: @christianposta

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message