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] Commented: (AMQ-1697) redelivery policy config failure
Date Fri, 23 May 2008 18:39:54 GMT

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

Chris Josephes commented on AMQ-1697:
-------------------------------------

Can I get this ticket re-opened, or an update?

It looks like there's a disagreement between what ActiveMQ is or is not supposed to do.

Either way, I'd like the ability to specify redelivery policies from an ActiveMQ configuration.


> 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