Re: Artemis v2.1 divert

2017-06-22 Thread abhijith
Thanks Justin.   flag was the reason for store
filling up.  We were thinking address itself is storing messages, but it was
DLQ.  Thanks for the help



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Artemis-v2-1-divert-tp4727498p4727759.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Artemis v2.1 divert

2017-06-17 Thread Justin Bertram
> But message is kept on the address space in store.

Can you elaborate on what exactly you mean by this?


> true

Keep in mind that any message sent to any address without a queue binding
will then get routed to the dead-letter address.  This probably isn't what
you want as lots of messages (e.g. management notifications) will
accumulate in the DLA.


Justin

On Fri, Jun 16, 2017 at 3:12 PM, abhijith 
wrote:

> Hi
>
> We are having a topic on which a divert is configured.  Every message sent
> to topic has to be diverted to queue.
>
> Divert:
>
> 
> jms.topic.testtopic01
> jms.queue.testqueue01
> false
> 
>
> Address:
> 
> 
> 
> 
> 
>  
> 
> 
>
> DLQ
>
>
> 
> jms.queue.DLQ
> jms.queue.ExpiryQueue
>
> 1
>
> 5.0
> 540
> 6
> 0
> true
>
> 31457280
>
> 1048576
> PAGE
> 
>
> Now we are seeing some strange behavior and wanted to check.
>
> When divert is marked exclusive=false, message gets routed to queue
> successfully.  But message is kept on the address space in store.  Message
> from store is not remove after routing.  Message just sits there and store
> keeps on growing until it blows up.
>
> When divert is marked exclusive=true, message gets routed to queue
> successfully.  But a copy of the message is sent to DLQ as well.  Our DLQ
> starts filling up and blows up after a while.
>
> Wondering what is the expected behavior here.  What we want is when topic
> marked as exclusive=false, message to be diverted and removed from topic
> address space.  Is there any setting I can set it up that way?
>
> Any help will be greatly appreciated.  Thanks.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Artemis-v2-1-divert-tp4727498.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Artemis v2.1 divert

2017-06-16 Thread abhijith
Hi

We are having a topic on which a divert is configured.  Every message sent
to topic has to be diverted to queue. 

Divert:


jms.topic.testtopic01
jms.queue.testqueue01
false


Address:





 



DLQ

 

jms.queue.DLQ
jms.queue.ExpiryQueue

1
   
5.0
540
6
0
true

31457280

1048576
PAGE


Now we are seeing some strange behavior and wanted to check.  

When divert is marked exclusive=false, message gets routed to queue
successfully.  But message is kept on the address space in store.  Message
from store is not remove after routing.  Message just sits there and store
keeps on growing until it blows up.

When divert is marked exclusive=true, message gets routed to queue
successfully.  But a copy of the message is sent to DLQ as well.  Our DLQ
starts filling up and blows up after a while.

Wondering what is the expected behavior here.  What we want is when topic
marked as exclusive=false, message to be diverted and removed from topic
address space.  Is there any setting I can set it up that way?

Any help will be greatly appreciated.  Thanks.



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Artemis-v2-1-divert-tp4727498.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.