Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 87275 invoked from network); 5 Apr 2007 23:56:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 23:56:05 -0000 Received: (qmail 68069 invoked by uid 500); 5 Apr 2007 23:56:12 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 67818 invoked by uid 500); 5 Apr 2007 23:56:12 -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 67807 invoked by uid 99); 5 Apr 2007 23:56:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 16:56:12 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 16:56:03 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HZbnq-0004cM-Lc for users@activemq.apache.org; Thu, 05 Apr 2007 16:55:42 -0700 Message-ID: <9865981.post@talk.nabble.com> Date: Thu, 5 Apr 2007 16:55:42 -0700 (PDT) From: samd To: users@activemq.apache.org Subject: Re: ActiveMQ TextMessage to GlassFish Queue In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sdoyle_2@yahoo.com References: <9865743.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org James.Strachan wrote: > > On 4/6/07, samd wrote: >> >> Hi, >> I have a standalone ActiveMQ client which I'm trying to get to send a >> TextMessage to a GlassFish queue > > Unfortunately the ActiveMQ client only talks to ActiveMQ queues; > there's no GlassFish queue support. > > >> so that it can be consumed by a MDB. What >> is the procedure required to do this? I tried using the standard >> mechanism >> of: >> >> String serverUrl="tcp://:/"; >> ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory( >> serverUrl >> ); >> QueueConnection queueConnection = >> ((QueueConnectionFactory)factory).createQueueConnection(); >> QueueSession senderSession = >> queueConnection.createQueueSession(false,Session.AUTO_ACKNOWLEDGE); >> Queue requestQueue = senderSession.createQueue("testQueue"); >> >> QueueSender sender = senderSession.createSender(requestQueue); >> queueConnection.start(); >> >> This doesn't appear to work. > > Could you give us a clue as to what actually happens? > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > Hi, Thanks for your response, well I guess then that answers the question that it can only speak to ActiveMQ Queues. I was hoping that there would be some common standard format but I guess that isn't the case. Could you recommend the quickest way I could go about getting something up and running in the described scenario where I need to send a TextMessage from a ActiveMQ client to a GlassFish Queue? Thanks, S.D. -- View this message in context: http://www.nabble.com/ActiveMQ-TextMessage-to-GlassFish-Queue-tf3534521s2354.html#a9865981 Sent from the ActiveMQ - User mailing list archive at Nabble.com.