Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E21577AD6 for ; Fri, 14 Oct 2011 09:12:37 +0000 (UTC) Received: (qmail 22393 invoked by uid 500); 14 Oct 2011 09:12:37 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 22362 invoked by uid 500); 14 Oct 2011 09:12:36 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 22303 invoked by uid 99); 14 Oct 2011 09:12:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 09:12:34 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 09:12:28 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1REdoF-0008HK-VS for users@activemq.apache.org; Fri, 14 Oct 2011 02:12:07 -0700 Date: Fri, 14 Oct 2011 02:12:07 -0700 (PDT) From: Tibor Pal To: users@activemq.apache.org Message-ID: <1318583527963-3904212.post@n4.nabble.com> Subject: redelivery from a queue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I'm having a problem with message redelivery (ActiveMQ version is 5.5). It seems messages are redelivered from the broker to the consumer several times. The session is not transacted and the acknowledgement mode is auto. Besides I cannot see any exception thrown by the application. Our consumer is a a simple MessageListener wrapped in Spring's DefaultMessageListenerContainer with the following configuration: Our jmsConnectionFactory looks like this: The redeliverypolicy defined is for a different MessageListener which listens to a different destination. The brokerURL is the following: failover:(tcp://BROKER_A_HOSTNAME:BROKER_A_PORT,tcp://BROKER_B_HOSTNAME:BROKER_B_PORT)?timeout=5000&randomize=false We are using network of brokers with the following configuration: Broker A Broker B Any help would be appreciated -- View this message in context: http://activemq.2283324.n4.nabble.com/redelivery-from-a-queue-tp3904212p3904212.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.