Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 99939 invoked from network); 14 Jan 2008 11:10:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2008 11:10:49 -0000 Received: (qmail 75145 invoked by uid 500); 14 Jan 2008 11:10:39 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74818 invoked by uid 500); 14 Jan 2008 11:10:37 -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 74809 invoked by uid 99); 14 Jan 2008 11:10:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 03:10:37 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 11:10:25 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JENCr-000481-Ag for users@activemq.apache.org; Mon, 14 Jan 2008 03:10:17 -0800 Message-ID: <14799510.post@talk.nabble.com> Date: Mon, 14 Jan 2008 03:10:17 -0800 (PST) From: Eric-AWL To: users@activemq.apache.org Subject: Re: What are the reasons why synchronous receive() doesn't work ? In-Reply-To: <97B0D78B-8A4A-4B4E-B4FD-7B259B5BBA1E@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: eric.vincent@atosorigin.com References: <14798865.post@talk.nabble.com> <97B0D78B-8A4A-4B4E-B4FD-7B259B5BBA1E@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Yes and all my "send" work perfectly. My ActiveMQ version is 4.1.0. rajdavies wrote: > > Have you called start on your connections ? > > On Jan 14, 2008, at 11:02 AM, Eric-AWL wrote: > >> >> Hi ! >> >> I'm new with ActiveMQ. I try to make a simple Question/Answer >> mechanism on >> only one server, one ActiveMQ instance, and two client processes. >> >> First process >> 1 client which sends one message on a first queue, and waits with a >> "second_queue_consumer.receive()" on a second queue >> 1 connection, 2 different JMS sessions with AUTO_ACKNOWLEDGEMENT >> >> Second process >> 1 server which receives asynchronously (Listener) the message and >> sends an >> answer on the second queue >> 1 connection, 2 different JMS sessions with AUTO_ACKNOWLEDGEMENT >> >> The client is blocked : no message are consumed. >> >> With a JMX client, I can see that my answers are enqueued and that I >> have a >> consumer on that second queue. >> >> I don't understand .... >> >> Thank you for your help. >> Eric >> -- >> View this message in context: >> http://www.nabble.com/What-are-the-reasons-why-synchronous-receive%28%29-doesn%27t-work---tp14798865s2354p14798865.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/What-are-the-reasons-why-synchronous-receive%28%29-doesn%27t-work---tp14798865s2354p14799510.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.