From dev-return-32357-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Wed Aug 1 04:15:38 2012 Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DA0ED9C1 for ; Wed, 1 Aug 2012 04:15:38 +0000 (UTC) Received: (qmail 98464 invoked by uid 500); 1 Aug 2012 04:15:37 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 98197 invoked by uid 500); 1 Aug 2012 04:15:37 -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 98165 invoked by uid 99); 1 Aug 2012 04:15:36 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 04:15:36 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 1162E142856 for ; Wed, 1 Aug 2012 04:15:35 +0000 (UTC) Date: Wed, 1 Aug 2012 04:15:35 +0000 (UTC) From: "Alex Ooi (JIRA)" To: dev@activemq.apache.org Message-ID: <1534975204.124976.1343794535075.JavaMail.jiratomcat@issues-vm> In-Reply-To: <555370160.65116.1303151165710.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3285) ActiveMQXAConnectionFactory does not respect various parameters for redelivery policy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426318#comment-13426318 ] Alex Ooi commented on AMQ-3285: ------------------------------- Hello, Did this get resolved?! We are using ActiveMQ 5.5.1 (second latest.. I see that 5.6.0 is available) and am seeing this exact issue. The redeliveryDelay in the latest comment is set correctly, but the message is getting picked up immediately by the Listener... Thus, our configurations for redelivery are not being respected. Is there any intention to fix this? We are not using the persistent mechanism of ActiveMQ. Haven't tried with persistence, but this is not ideal for our scenario anyway. We want to keep messages non-persistent, but also want the redelivery to occur when a transaction is rolled back and respect the redelivery configuration so that we dont use up all of our redeliveries in such a short space of time. > ActiveMQXAConnectionFactory does not respect various parameters for redelivery policy > ------------------------------------------------------------------------------------- > > Key: AMQ-3285 > URL: https://issues.apache.org/jira/browse/AMQ-3285 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 5.4.0, 5.4.2, 5.5.0 > Reporter: Jaskirat Bhatia > Attachments: activemq-test-0.1-project.zip, activemq-test.zip > > > I tried to add these following parameters to my redelivery policy and activeMQ is not respecting any of them except maximumRedelivery > > > > > > > > I have attached the project which I took from https://issues.apache.org/jira/browse/AMQ-1593 and added the above parameter to my brokerURL: > tcp://localhost:5000?jms.redeliveryPolicy.maximumRedeliveries=3&jms.redeliveryPolicy.initialRedeliveryDelay=10000&jms.redeliveryPolicy.deliveryDelay=10000&jms.redeliveryPolicy.useExponentialBackOff=true&jms.redeliveryPolicy.backOffMultiplier=2 > This test case will show you that none of the parameters like initiaRedeliveryDelay etc will take effect, except maxRedeliveries -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira