From users-return-17092-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Mon Dec 01 15:38:05 2008 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 81931 invoked from network); 1 Dec 2008 15:38:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 15:38:05 -0000 Received: (qmail 43495 invoked by uid 500); 1 Dec 2008 15:38:16 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 43340 invoked by uid 500); 1 Dec 2008 15:38:15 -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 43329 invoked by uid 99); 1 Dec 2008 15:38:15 -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 07:38:15 -0800 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gabe.westmaas@mailtrust.com designates 207.97.245.195 as permitted sender) Received: from [207.97.245.195] (HELO smtp195.iad.emailsrvr.com) (207.97.245.195) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 15:36:48 +0000 Received: from relay9.relay.iad.mlsrvr.com (localhost [127.0.0.1]) by relay9.relay.iad.mlsrvr.com (SMTP Server) with ESMTP id 66DF31DB0CB for ; Mon, 1 Dec 2008 10:36:34 -0500 (EST) Received: from mailtrust.com (webmail2.r2.iad.emailsrvr.com [192.168.1.10]) by relay9.relay.iad.mlsrvr.com (SMTP Server) with ESMTP id 62B441D9279 for ; Mon, 1 Dec 2008 10:36:34 -0500 (EST) Received: by webmail.mailtrust.com (Authenticated sender: gabe.westmaas@mailtrust.com, from: gabe.westmaas@mailtrust.com) with HTTP; Mon, 1 Dec 2008 10:36:34 -0500 (EST) Date: Mon, 1 Dec 2008 10:36:34 -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: <1228145794.368332522@192.168.1.71> X-Mailer: webmail6.8 X-Virus-Checked: Checked by ClamAV on apache.org And does your client acknowledge after it receives it? If not, it will rea= d the message again later since the broker thinks it wasn't received.=0A=0A= -----Original Message-----=0AFrom: "Lars Eirik R=C3=B8nning" =0ASent: Monday, December 1, 2008 10:05am=0ATo: users@activemq.apach= e.org=0ASubject: Re: Message is sendt more than once=0A=0AHi i am using the= following :session=0A=3Dcon.createSession(true,Session.CLIENT_ACKNOWLEDGE)= ;=0A=0AOn Mon, Dec 1, 2008 at 2:42 PM, Gabe Westmaas=0Awrote:=0A=0A> Could be an acknowledgment issue, what type of ackno= wledge (client, auto,=0A> dups ok, transaction) are you using?=0A>=0A> ----= -Original Message-----=0A> From: "Lars Eirik R=C3=B8nning" =0A> Sent: Monday, December 1, 2008 8:16am=0A> To: users@activemq.apac= he.org=0A> Subject: Message is sendt more than once=0A>=0A> Hi.=0A> I have = some business logic which process xml from a que served by activemq.=0A> I = 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=0A> is=0A> receveived, where = as when asking to get messages from the que it sends the=0A> same message t= wice.=0A> at the moment i have set prefect to 1 so only one message should = arrive at=0A> a=0A> time. This is done via spring.=0A>=0A> The weird thing = is that when i stop my consumer and watch the webconsole=0A> with the que i= t says only 1 message is wating to be delivered.When i=0A> activate my cons= umer , the xml is sendt twice..=0A>=0A> Hope you can help me with this.=0A>= I run activemq 5.1.0=0A>=0A>=0A>=0A