From users-return-17087-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Mon Dec 01 13:43:40 2008 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 39433 invoked from network); 1 Dec 2008 13:43:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 13:43:40 -0000 Received: (qmail 72045 invoked by uid 500); 1 Dec 2008 13:43:45 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 72029 invoked by uid 500); 1 Dec 2008 13:43:45 -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 72014 invoked by uid 99); 1 Dec 2008 13:43:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 05:43:45 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_OPENWHOIS,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gabe.westmaas@mailtrust.com designates 207.97.245.235 as permitted sender) Received: from [207.97.245.235] (HELO smtp235.iad.emailsrvr.com) (207.97.245.235) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 13:42:17 +0000 Received: from relay13.relay.iad.mlsrvr.com (localhost [127.0.0.1]) by relay13.relay.iad.mlsrvr.com (SMTP Server) with ESMTP id A59D81CC3A6 for ; Mon, 1 Dec 2008 08:42:03 -0500 (EST) Received: from mailtrust.com (webmail16.webmail.iad.mlsrvr.com [192.168.1.21]) by relay13.relay.iad.mlsrvr.com (SMTP Server) with ESMTP id 9A0791CC392 for ; Mon, 1 Dec 2008 08:42:03 -0500 (EST) Received: by webmail.mailtrust.com (Authenticated sender: gabe.westmaas@mailtrust.com, from: gabe.westmaas@mailtrust.com) with HTTP; Mon, 1 Dec 2008 08:42:03 -0500 (EST) Date: Mon, 1 Dec 2008 08:42:03 -0500 (EST) Subject: RE: Message is sendt more than once From: "Gabe Westmaas" To: users@activemq.apache.org MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 Content-Transfer-Encoding: quoted-printable Importance: Normal X-Priority: 3 (Normal) X-Type: plain In-Reply-To: References: Message-ID: <1228138923.615611594@192.168.1.71> X-Mailer: webmail6.8 X-Virus-Checked: Checked by ClamAV on apache.org Could be an acknowledgment issue, what type of acknowledge (client, auto, d= ups ok, transaction) are you using?=0A=0A-----Original Message-----=0AFrom:= "Lars Eirik R=C3=B8nning" =0ASent: Monday, December 1= , 2008 8:16am=0ATo: users@activemq.apache.org=0ASubject: Message is sendt m= ore than once=0A=0AHi.=0AI have some business logic which process xml from = a que served by activemq.=0AI use receive() to get the xml from the que.=0A= When i run my business logic without the que only one instance of the xml i= s=0Areceveived, where as when asking to get messages from the que it sends = the=0Asame message twice.=0Aat the moment i have set prefect to 1 so only o= ne message should arrive at a=0Atime. This is done via spring.=0A=0AThe wei= rd thing is that when i stop my consumer and watch the webconsole=0Awith th= e que it says only 1 message is wating to be delivered.When i=0Aactivate my= consumer , the xml is sendt twice..=0A=0AHope you can help me with this.= =0AI run activemq 5.1.0=0A