activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: Redelivery policy configuration
Date Thu, 12 Nov 2015 16:02:08 GMT
First the re deliveries in the factory are done then the ones on the server.
So they add up.

Christian

On 12.11.2015 16:53, Mop Sophia wrote:
> Hi,
>
> I try to confiigure the redelivery policy in my application through the
> activemq.xml, I have added this part :
>          <plugins>
>              <redeliveryPlugin fallbackToDeadLetter="false"
> sendToDlqIfMaxRetriesExceeded="false">
>                  <redeliveryPolicyMap>
>                      <redeliveryPolicyMap>
>                          <defaultEntry>
>                              <redeliveryPolicy maximumRedeliveries="1"
> initialRedeliveryDelay="10000" redeliveryDelay="10000" />
>                          </defaultEntry>
>                      </redeliveryPolicyMap>
>                  </redeliveryPolicyMap>
>              </redeliveryPlugin>
>          </plugins>
>
> But after a rollback in my application, it seems there are 12 attempts,
> maybe 6 default redeliveries * 2 ?
> Is there a combination between redeliveries in factory connection and in
> broker configuration ?
>
> As another option, I also tried to configure in the brokerURL with :
> vm://localhost?jms.redeliveryPolicy.maximumRedeliveries=1&brokerConfig=xbean:activemq.xml
> But it seems not possible to put in the URL at the same time a redelivery
> policy and a broker configuration file.
>
> Any idea, please ?
>
> St├ęphane
>


-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com


Mime
View raw message