Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 59372 invoked from network); 23 May 2008 18:40:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 May 2008 18:40:18 -0000 Received: (qmail 26087 invoked by uid 500); 23 May 2008 18:40:19 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 26055 invoked by uid 500); 23 May 2008 18:40:19 -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 26044 invoked by uid 99); 23 May 2008 18:40:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2008 11:40:19 -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; Fri, 23 May 2008 18:39:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 75222234C11B for ; Fri, 23 May 2008 11:39:54 -0700 (PDT) Message-ID: <590173048.1211567994478.JavaMail.jira@brutus> Date: Fri, 23 May 2008 11:39:54 -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=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 > > > > > 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.