activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darren <dar...@ontrenet.com>
Subject RE: Redelivery policy broken in 5.7.0
Date Fri, 26 Oct 2012 19:56:05 GMT
Cuz its broke...


Sent from my Verizon Wireless 4G LTE Smartphonechudak <meadandale@gmail.com> wrote:I
have an existing RedeliveryPolicy configured thusly:

<bean id="activeMQRedeliveryPolicy"
class="org.apache.activemq.RedeliveryPolicy">
    <property name="initialRedeliveryDelay"
value="${jms.queue.redelivery-policy.initial.redelivery.delay}"/>
    <property name="maximumRedeliveries"
value="${jms.queue.redelivery-policy.max.redeliveries}"/>
    <property name="useExponentialBackOff"
value="${jms.queue.redelivery-policy.exponential.backoff}"/>
    <property name="backOffMultiplier"
value="${jms.queue.redelivery-policy.backoff.multiplier}"/>
  </bean>

This has been working fine up through 5.5.1. Today I upgraded to 5.7.0 and
now my application won't start:


y'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.RedeliveryPolicy#1ae9e9b': Invocation of init
method failed; nested exception is java.lang.IllegalArgumentException: You
must specify the 'destination' property:


What is this destination property and why must I now set it? I can't find
anything in the documentation. It looks like RedeliveryPolicy has been
changed to extend the class DestinationMapEntry. But the destination is a
required property. The example shows you binding a policy to a destination
via the redeliverypolicymap not with an embedded destination.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Redelivery-policy-broken-in-5-7-0-tp4658304.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message