activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eidolon1138 <>
Subject RedeliveryPolicy via Annotation, XML, or URI?
Date Tue, 11 Nov 2008 23:41:20 GMT

We are using AMQ5.1.  We have an MDB with the following Annotations...

@MessageDriven(activationConfig =
propertyValue="1"), //necessary to ensure FIFO processing of trades
propertyValue="1"),            //necessary to ensure FIFO processing of
      //Configure to retry 5 times, waiting five times longer between each

...but when I deploy it, I get the following error:

org.jboss.deployment.DeploymentException: Error for ActivationSpec class
org.apache.activemq.ra.ActiveMQActivationSpec as JavaBean; - nested
throwable: (java.beans.IntrospectionException: No property found for:
redeliveryUseExponentialBackOff on JavaBean:
destinationType='javax.jms.Queue', messageSelector='null',
destination='AMQ.Calypso.Event.Receive', clientId='null',
subscriptionName='null', subscriptionDurability='NonDurable'})

According to the
documentation  this should work.  However, when I looked at the source
ActiveMQActivationSpec.validate() it really doesn't handle the redelivery
properties.  Why is that?

We have also tried using the uri arguments like this:


but there was no change in behavior, it redelivered the message immediately.

Finally, we've played with using a deployment descriptor to specify the
redelivery properties, but upon deployment we get the same "No property
found" error from above.

Again, according to the documentation  we
should be able to specify this on the ResourceAdapter as well.  How do I do
this?  I've been looking scouring the schema for activemq-ds.xml and ra.xml,
but I don't see anything obvious.


- Dave

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message