Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 20588 invoked from network); 27 Oct 2008 16:34:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Oct 2008 16:34:29 -0000 Received: (qmail 13678 invoked by uid 500); 27 Oct 2008 16:34:32 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 13527 invoked by uid 500); 27 Oct 2008 16:34:32 -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 13516 invoked by uid 99); 27 Oct 2008 16:34:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2008 09:34:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bofh@redwerk.com designates 85.90.206.104 as permitted sender) Received: from [85.90.206.104] (HELO office.redwerk.com) (85.90.206.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2008 16:33:20 +0000 Received: from bofh by office.redwerk.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KuV2R-000033-1b for users@activemq.apache.org; Mon, 27 Oct 2008 18:33:55 +0200 Date: Mon, 27 Oct 2008 18:33:55 +0200 From: Eugeny N Dzhurinsky To: users@activemq.apache.org Subject: how to debug message flow? Message-ID: <20081027163355.GA38039@office.redwerk.com> Mail-Followup-To: users@activemq.apache.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! I created a Session with Session.CLIENT_ACKNOWLEDGE, then created a queue a= nd a consumer using this session. I found if several producers are sending messages to the queue, the onMessage method of the consumer is called each time new message arrives. This happens even in case if the consumer never sends the acknowledge with message.acknowledge() after the message is processed. The issue can not be reproduced with simple test I've made, and I believe something is wrong with my application - but I can't really understand how = and =66rom where the acknowledgement response may be sent by ActiveMQ. The code doesn't differ much from the test one. Turning the debug on doesn't help much - I can't see where the acknowledgem= ent is really occurs. So I would like to know how can I debug ActiveMQ itself a= nd find out where the acknowledge may occur. Thank you in advance! --=20 Eugene N Dzhurinsky --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkF7XIACgkQy/i/DoZLbHwv3gCfWFbxu3gDt6XZUeJDQ85qkvNJ p6UAniHwwQkGYmCYF64AO2uDK8qVwMiT =0jDB -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--