activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Josephes (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1697) redelivery policy config failure
Date Mon, 28 Apr 2008 20:06:43 GMT
redelivery policy config failure
--------------------------------

                 Key: AMQ-1697
                 URL: https://issues.apache.org/activemq/browse/AMQ-1697
             Project: ActiveMQ
          Issue Type: Bug
            Reporter: Chris Josephes
             Fix For: 5.1.0


I'm trying to set a redelivery policy in my activemq.xml config

       <policyEntry queue="ABC.Queue1">
               <redeliveryPolicy maximumRedeliveries="-1">
               </redeliveryPolicy>
            </policyEntry>

Unfortunately, activemq is complaining about the configuraiton

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'policyEntry#c943d1' defined in class path resource [activemq.xml]: Initialization of
bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid
property 'redeliveryPolicy' of bean class [org.apache.activemq.broker.region.policy.PolicyEntry]:
No property 'redeliveryPolicy' found
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:445)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:353)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
        ... 42 more
Caused by: org.springframework.beans.InvalidPropertyException: Invalid property 'redeliveryPolicy'
of bean class [org.apache.activemq.broker.region.policy.PolicyEntry]: No property 'redeliveryPolicy'
found
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:377)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1211)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1177)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:940)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:437)
        ... 46 more


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message