Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 3506 invoked from network); 8 May 2008 20:31:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 20:31:04 -0000 Received: (qmail 57451 invoked by uid 500); 8 May 2008 20:31:06 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 57420 invoked by uid 500); 8 May 2008 20:31:06 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 57409 invoked by uid 99); 8 May 2008 20:31:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 13:31:06 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 20:30:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 94110234C10A for ; Thu, 8 May 2008 13:30:43 -0700 (PDT) Message-ID: <1466165198.1210278643605.JavaMail.jira@brutus> Date: Thu, 8 May 2008 13:30:43 -0700 (PDT) From: "Chris Josephes (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1697) redelivery policy config failure In-Reply-To: <511764294.1209413203449.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42599#action_42599 ] Chris Josephes commented on AMQ-1697: ------------------------------------- That's the reference document I initially found, so I was surprised to get the error after following the example. It would be a great feature to have if it means I don't have to remind every consumer writer about the need to specify the redelivery policy. > 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 > > > > > 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.