On 09/22/2017 11:11 AM, vikd wrote:
Hi Team ,

Please guide me how to discard message from queue.

I have to discard message from queue after some millisecond.
For that i tried as mentioned in URL :
http://activemq.apache.org/message-redelivery-and-dlq-handling.html , I done
below changes in activemq.xml file.

<policyEntry queue=">">
          <deadLetterStrategy>
            <sharedDeadLetterStrategy processExpired="false" />
          </deadLetterStrategy>
        </policyEntry>

and sent around 500 messages on queue and used setTimeToLive(10000)
function.

and then checked from webconsole  after some minutes these message are
expired but not getting discarded from queue.

please guide me anything I missed or should I wait for some more time to
discard? or there are another solution for my requirement.

I am using broker apache activemq 5.13.1 broker




--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html


The developers list is for discussion of ongoing development of the ActiveMQ projects, questions should be directed to the users mailing list.  http://activemq.apache.org/mailing-lists.html


--
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/

Reply via email to