You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by shalomk <sh...@tikalk.com> on 2010/02/15 02:32:51 UTC

LoggingBrokerPlugin and DLQ

HI
using AMQ 5.3 I installed the LoggingBrokerPlugin, but then expired messages
did not move to DLQ, messages where removed from the queue but did not move
to DLQ. looking at the source i see that the method sendToDeadLetterQueue
that LoggingBrokerPlugin overrides does not call super or next, when i
removed this plugin messages where moved to DLQ. 
is this a bug or an i missing something?
-- 
View this message in context: http://old.nabble.com/LoggingBrokerPlugin-and-DLQ-tp27588791p27588791.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: LoggingBrokerPlugin and DLQ

Posted by shalomk <sh...@tikalk.com>.
another related issue is, when authorization is configured for queues and
topics then advisory messages for expired messages fail.




shalomk wrote:
> 
> Thanks.
> so actually there is no way for me to use the DLQ with authorization
> plugin.
> we must have authorization on queues, and we need the DLQ.
> I tried to run the same configuration with 5.2 but it looks that nothing
> happens in 5.2, expired messages are not removed from the queue and thus
> don't move to the DLQ.
> I tried the sharedDeadLetterStrategy and individualDeadLetterStrategy but
> nothing works. my activemq.xml attached.
> http://old.nabble.com/file/p27594747/activemqq.xml activemqq.xml 
> any idea on workaround? or should we just wait for a fix , or try to fix
> it our selves?
> 
>  
> 
> 
> rajdavies wrote:
>> 
>> Raised an issue for this - AMQ-2604
>> On 15 Feb 2010, at 01:32, shalomk wrote:
>> 
>>>
>>> HI
>>> using AMQ 5.3 I installed the LoggingBrokerPlugin, but then expired  
>>> messages
>>> did not move to DLQ, messages where removed from the queue but did  
>>> not move
>>> to DLQ. looking at the source i see that the method  
>>> sendToDeadLetterQueue
>>> that LoggingBrokerPlugin overrides does not call super or next, when i
>>> removed this plugin messages where moved to DLQ.
>>> is this a bug or an i missing something?
>>> -- 
>>> View this message in context:
>>> http://old.nabble.com/LoggingBrokerPlugin-and-DLQ-tp27588791p27588791.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>> 
>> Rob Davies
>> http://twitter.com/rajdavies
>> I work here: http://fusesource.com
>> My Blog: http://rajdavies.blogspot.com/
>> I'm writing this: http://www.manning.com/snyder/
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/LoggingBrokerPlugin-and-DLQ-tp27588791p27594900.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: LoggingBrokerPlugin and DLQ

Posted by shalomk <sh...@tikalk.com>.
Thanks.
so actually there is no way for me to use the DLQ with authorization plugin.
we must have authorization on queues, and we need the DLQ.
I tried to run the same configuration with 5.2 but it looks that nothing
happens in 5.2, expired messages are not removed from the queue and thus
don't move to the DLQ.
I tried the sharedDeadLetterStrategy and individualDeadLetterStrategy but
nothing works. my activemq.xml attached.
http://old.nabble.com/file/p27594747/activemqq.xml activemqq.xml 
any idea on workaround? or should we just wait for a fix , or try to fix it
our selves?

 


rajdavies wrote:
> 
> Raised an issue for this - AMQ-2604
> On 15 Feb 2010, at 01:32, shalomk wrote:
> 
>>
>> HI
>> using AMQ 5.3 I installed the LoggingBrokerPlugin, but then expired  
>> messages
>> did not move to DLQ, messages where removed from the queue but did  
>> not move
>> to DLQ. looking at the source i see that the method  
>> sendToDeadLetterQueue
>> that LoggingBrokerPlugin overrides does not call super or next, when i
>> removed this plugin messages where moved to DLQ.
>> is this a bug or an i missing something?
>> -- 
>> View this message in context:
>> http://old.nabble.com/LoggingBrokerPlugin-and-DLQ-tp27588791p27588791.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> Rob Davies
> http://twitter.com/rajdavies
> I work here: http://fusesource.com
> My Blog: http://rajdavies.blogspot.com/
> I'm writing this: http://www.manning.com/snyder/
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/LoggingBrokerPlugin-and-DLQ-tp27588791p27594747.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: LoggingBrokerPlugin and DLQ

Posted by Rob Davies <ra...@gmail.com>.
Raised an issue for this - AMQ-2604
On 15 Feb 2010, at 01:32, shalomk wrote:

>
> HI
> using AMQ 5.3 I installed the LoggingBrokerPlugin, but then expired  
> messages
> did not move to DLQ, messages where removed from the queue but did  
> not move
> to DLQ. looking at the source i see that the method  
> sendToDeadLetterQueue
> that LoggingBrokerPlugin overrides does not call super or next, when i
> removed this plugin messages where moved to DLQ.
> is this a bug or an i missing something?
> -- 
> View this message in context: http://old.nabble.com/LoggingBrokerPlugin-and-DLQ-tp27588791p27588791.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Rob Davies
http://twitter.com/rajdavies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/






Re: LoggingBrokerPlugin and DLQ

Posted by Rob Davies <ra...@gmail.com>.
looks like a bug
On 15 Feb 2010, at 01:32, shalomk wrote:

>
> HI
> using AMQ 5.3 I installed the LoggingBrokerPlugin, but then expired  
> messages
> did not move to DLQ, messages where removed from the queue but did  
> not move
> to DLQ. looking at the source i see that the method  
> sendToDeadLetterQueue
> that LoggingBrokerPlugin overrides does not call super or next, when i
> removed this plugin messages where moved to DLQ.
> is this a bug or an i missing something?
> -- 
> View this message in context: http://old.nabble.com/LoggingBrokerPlugin-and-DLQ-tp27588791p27588791.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Rob Davies
http://twitter.com/rajdavies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/