activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MZ <>
Subject Redelivery Policy Setting
Date Fri, 22 Jul 2011 11:34:44 GMT
Dear all,

We are using activemq version 5.3 / 5.4 with tomcat 6, persistent message
and transacted session. 

We do the Redelivery Policy Setting in the brokerURL in the resource
definition in tomcat context file like following(in version 5.4):

<Resource name="ConnectionFactory"
        description="JMS Connection Factory"

The problem we face to in both versions are:
1. The deliveryDelay setting is ignored from the broker. The consumer
received the message again immediately. We have also try to rise only the
property initialRedeliveryDelay. It has no effect.
2. The property maximumRedeliveries is accepted from the broker. But, the
message will be redelivered +1  time more.

We want to do the delivery policy  setting per configuration - I mean not
programmticly.  So we have two ways to do it - with brokerURL or xbean. 

Our questions:
1. Are there any properties missing in our brokerURL setting, which the
redeliveryPolicy depend on? 
2. When we use the xbean configuration instead of using brokerURL, Where
should we insert the Element redeliveryPolicy? According to the schema, this
element is only allowed in Element connectionFactory. Is there any sample to
do this configuration?



View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message