Hi

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

Divert:

<divert name="test-divert01">
    <address>jms.topic.testtopic01</address>
    <forwarding-address>jms.queue.testqueue01</forwarding-address>
    <exclusive>false</exclusive>
</divert>

Address:
<address name="jms.topic.testtopic01">
    <multicast/>
</address>
<address name="jms.queue.testqueue01">
    <anycast>
     <queue name="jms.queue.testqueue01"/>
    </anycast>
</address>

DLQ

 
            <address-setting match="#">
                <dead-letter-address>jms.queue.DLQ</dead-letter-address>
                <expiry-address>jms.queue.ExpiryQueue</expiry-address>
                
                <redelivery-delay>10000</redelivery-delay>
               
<redelivery-delay-multiplier>5.0</redelivery-delay-multiplier>
                <max-redelivery-delay>5400000</max-redelivery-delay>
                <max-delivery-attempts>6</max-delivery-attempts>
                <redistribution-delay>0</redistribution-delay>
                <send-to-dla-on-no-route>true</send-to-dla-on-no-route>
                
                <max-size-bytes>31457280</max-size-bytes>
                
                <page-size-bytes>1048576</page-size-bytes>
                <address-full-policy>PAGE</address-full-policy>
            </address-setting>

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.

Reply via email to