Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 32486 invoked from network); 9 Mar 2011 14:56:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Mar 2011 14:56:30 -0000 Received: (qmail 99787 invoked by uid 500); 9 Mar 2011 14:56:29 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 99766 invoked by uid 500); 9 Mar 2011 14:56:29 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 99758 invoked by uid 99); 9 Mar 2011 14:56:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 14:56:29 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajith77@gmail.com designates 74.125.82.52 as permitted sender) Received: from [74.125.82.52] (HELO mail-ww0-f52.google.com) (74.125.82.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 14:56:23 +0000 Received: by wwj40 with SMTP id 40so810792wwj.33 for ; Wed, 09 Mar 2011 06:56:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=rSiZkM49/z0/JxBv7fiAXdU7zdOSFS3maSXMJPfDoGw=; b=Iusmqp2s9vxuDROs0wfBoz3dZFeWkq1TgV4HKKofSWoPuMrf2Vc3Hw6Lcujph9Vg8b +Kqs50sbrytKBlHyePHO6eAaxEAFOkLWN2nzj2SD2rDt7VPTsYpSSU4JHSXRizoQryFt HUwtEliA4yc5nLC5hmjRRPcDbmK2Aiz5DSnkg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=oAiPRIWJpda+o1+aZZFBVI+drU1USSfu4kpUmE/p2NKWov7rMbHhtzJTGHce+L6UkB q/IazJL+EcRIS17z9p977BecfePeg8A5/19m99AUHp1J2sYb7jaPhOjiP546Jz9ZOslY OYLGZfiVhlwEKXaSELNaQ0VLfH3b4T6njAHLQ= MIME-Version: 1.0 Received: by 10.227.21.145 with SMTP id j17mr4449395wbb.33.1299682561920; Wed, 09 Mar 2011 06:56:01 -0800 (PST) Received: by 10.227.146.201 with HTTP; Wed, 9 Mar 2011 06:56:01 -0800 (PST) In-Reply-To: References: Date: Wed, 9 Mar 2011 09:56:01 -0500 Message-ID: Subject: Re: onMessage() always acknowledges msg even if Session is set to CLIENT_ACK From: Rajith Attapattu To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=00221538f2026c8e63049e0dedd3 --00221538f2026c8e63049e0dedd3 Content-Type: text/plain; charset=ISO-8859-1 The answer below is assuming that all your apps are consumers and not queue browsers. If thats not the case then please let me know. Rajith On Wed, Mar 9, 2011 at 9:53 AM, Rajith Attapattu wrote: > Kim, > > If you want all the apps (consumers) on the same queue to get all the > messages in the queue, then using 'Queues (as in JMS terms)' is not going > to do it. > As in a shared queue situation the messages will be distributed among them. > > Therefore you should use a Topic and all your consumers will get a copy of > every message sent to that topic. > > Regards, > > Rajith > > > On Wed, Mar 9, 2011 at 12:05 AM, Kim Garcia wrote: > >> >> Rajith, >> >> I have been trying to respond to your email all day but Hotmail keeps >> saying the delivery has failed... >> >> >> ---------------------------------------------------------------------------------------------------------------------------- >> >> Thank you for looking into this, Rajith. >> >> I'm not using any >> tools to verify if the message has been acked. I am running 2 of the >> same Java application. If I only run one, then it will get the messages >> like normal. If I run 2, they do not both get the same messages. I see >> that if app #1 gets message #1, then app #2 will not get message #1. The >> same applies for messages app #2 gets -- app #1 will not get them. I >> would like several apps to monitor the same queue with a listener and >> for all apps to get all of the messages. >> >> Thanks. >> >> > Date: Mon, 7 Mar 2011 18:07:19 -0500 >> > Subject: Re: onMessage() always acknowledges msg even if Session is set >> to CLIENT_ACK > > > --00221538f2026c8e63049e0dedd3--