activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pep <>
Subject ActiveMQ 4.0 Release Redelivery Policy config
Date Mon, 12 Jun 2006 14:18:34 GMT


I just downloaded the ActiveMQ 4.0 Release. Our application server (OC4J)
uses the JCA 1.5 adaptor to use ActiveMQ embedded as our JMS provider. We
defined a broker-config.xml file for our specific configuration and put it
in the classpath. The file is read when starting the server (and so the
broker), but it shows an error when configuring the redelivery policy. This
is our configuration code snippet:

          <policyEntry queue="QUEUE.>">
              <strictOrderDispatchPolicy />
              <lastImageSubscriptionRecoveryPolicy />
            	<individualDeadLetterStrategy queuePrefix="DLQ."
useQueueForQueueMessages="true" />
          <policyEntry queue="QUEUE.>">
             <redeliveryPolicy initialRedeliveryDelay="10" 
             				   maximumRedeliveries="5" />

It complains that the redeliveryPolicy attribute is not existing in the
PolicyEntry class. 

06/06/12 15:53:27 Warning: Unable to set up connection factory for a
resource ad
apter in systao: Failed to startup an embedded broker:
due to: org.springframework.beans.factory.BeanCreationException: Error
bean with name ''
defined in
 class path resource [broker-config.xml]: Error setting property values;
exception is org.springframework.beans.NotWritablePropertyException: Invalid
perty 'redeliveryPolicy' of bean class
.PolicyEntry]: Bean property 'redeliveryPolicy' is not writable or has an
d setter method: Does the parameter type of the setter match the return type
the getter?

I just checked in the javadoc and it is true. But my question is, where canI
configure the RedeliveryPolicy in a declarative way?

I searched in the activemq page with no success (only found a java example)
and when I look in the forum, it seems this kind of configuration is ok ¿?

Thanks for the help.

View this message in context:
Sent from the ActiveMQ - User forum at

View raw message