You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Filip Hanik (JIRA)" <ji...@apache.org> on 2008/05/08 19:17:43 UTC

[jira] Commented: (AMQ-1697) redelivery policy config failure

    [ https://issues.apache.org/activemq/browse/AMQ-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42596#action_42596 ] 

Filip Hanik commented on AMQ-1697:
----------------------------------

Isn't the doc specifying that you can do this?

http://activemq.apache.org/xbean-xml-reference-50.html#XBeanXMLReference5.0-redeliveryPolicyelement



> 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.