Yes you are right dead letter strategy is not working even though the number of
redeliveries are greater than max redeliveries from activemqconnectionfactory
{consumer }
Thanks and regards
RAJESH CHINIWAR
(iNET: 8-513-2388 | (IDD: +91-80-25132388
From: Tim Bain [via ActiveMQ] [mailto:[email protected]]
Sent: Thursday, July 20, 2017 7:13 PM
To: Manohar, Rajesh C <[email protected]>
Subject: Re: ActiveMQ redelivery is not working with 5.13
Are you saying that the individualDeadLetterStrategy isn't working? If not,
what is your question?
On Jul 20, 2017 7:05 AM, "Rajeshactivemq" <[hidden
email]</user/SendEmail.jtp?type=node&node=4728746&i=0>>
wrote:
> we are using acivemq 5.13 with master slave setup with jdbc. we have
> enabled
> scheduling but the redelivery is working fine but looks like msgs are going
> to the DLQ after the maxredeliveries.
>
> below is the sample activemq.xml file
>
> <broker advisorySupport="true" brokerName="broker"
> xmlns="http://activemq.apache.org/schema/core" persistent="true"
> schedulerDirectory="${activemq.data}/scheduler" schedulerSupport="true"
> useJmx="true">
> <destinationPolicy>
> <policyMap>
> <policyEntries>
> <policyEntry queue=">">
> <deadLetterStrategy>
>
> <individualDeadLetterStrategy
> queuePrefix="DLQ." useQueueForQueueMessages="true" />
> </deadLetterStrategy>
> <pendingMessageLimitStrategy>
> <constantPendingMessageLimitStrategy
> limit="1000" />
> </pendingMessageLimitStrategy>
> </policyEntry>
> <policyEntry topic=">">
> <deadLetterStrategy>
>
> <individualDeadLetterStrategy
> topicPrefix="DLQ." useQueueForTopicMessages="true" />
> </deadLetterStrategy>
> <pendingMessageLimitStrategy>
> <constantPendingMessageLimitStrategy
> limit="1000" />
> </pendingMessageLimitStrategy>
> </policyEntry>
>
> </policyEntries>
> </policyMap>
> </destinationPolicy>
>
>
> <redeliveryPlugin fallbackToDeadLetter="true"
> sendToDlqIfMaxRetriesExceeded="true">
> <redeliveryPolicyMap>
> <redeliveryPolicyMap>
> <redeliveryPolicyEntries>
> <redeliveryPolicy queue=">"
> maximumRedeliveries="1" redeliveryDelay="10000"/>
> </redeliveryPolicyEntries>
> <defaultEntry>
>
> <redeliveryPolicy maximumRedeliveries="1"
> initialRedeliveryDelay="5000"
> redeliveryDelay="1000"/>
> </defaultEntry>
>
> </redeliveryPolicyMap>
> </redeliveryPolicyMap>
> </redeliveryPlugin>
>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/ActiveMQ-redelivery-is-not-working-with-5-13-tp4728713.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
________________________________
If you reply to this email, your message will be added to the discussion below:
http://activemq.2283324.n4.nabble.com/ActiveMQ-redelivery-is-not-working-with-5-13-tp4728713p4728746.html
To unsubscribe from ActiveMQ redelivery is not working with 5.13, click
here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4728713&code=cmFqZXNoLmMubWFub2hhckBpbnRlbC5jb218NDcyODcxM3wtMTE2OTI2MDQwNw==>.
NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-redelivery-is-not-working-with-5-13-tp4728713p4728749.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.