Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 54527 invoked from network); 20 Jul 2007 03:36:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jul 2007 03:36:15 -0000 Received: (qmail 97684 invoked by uid 500); 20 Jul 2007 03:35:45 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 97656 invoked by uid 500); 20 Jul 2007 03:35:45 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 97645 invoked by uid 99); 20 Jul 2007 03:35:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2007 20:35:45 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.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; Thu, 19 Jul 2007 20:35:42 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IBjH0-0008P7-4F for dev@activemq.apache.org; Thu, 19 Jul 2007 20:35:22 -0700 Message-ID: <11701722.post@talk.nabble.com> Date: Thu, 19 Jul 2007 20:35:22 -0700 (PDT) From: zeric To: dev@activemq.apache.org Subject: Re: STOMP connections hanging In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: zeric@126.com References: <11682577.post@talk.nabble.com> <31442508.5281184892846206.JavaMail.root@ly.sdf.com> <11700828.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Many thanks. Ruby Server <-> ActiveMQ(Stomp) <-> Java client I should use stomp protocol to connect the ActiveMQ server for the ruby only supporting stomp protocol. Any suggestion? Hiram Chirino wrote: > > weird that you did not get an exception. stomp:// is only supported by > the broker. JMS clients cannot use the stomp:// protocol to connect > the the server. Only the server side of the stomp protocol has been > implemented by the Java ActiveMQ implementation. If anybody is > interested in implementing the client side, please let us know. > > stomp clients have been implemented for almost every other language tho. > > On 7/19/07, zeric wrote: >> >> Thanks for your reply. >> >> I'm using the zip file downloading from http://activemq.apache.org. >> And you can simply follow the user-guide.html in the zip file. >> ------------- >> Running the broker >> cd bin >> activemq >> >> Running the example producer and consumer >> Once you've got Java and Ant installed correctly you should be able to >> run >> >> cd example >> >> you can specify exact URLs to connect to via command like arguments. e.g. >> >> ant producer -Durl=stomp://localhost:61613 >> >> Then you will see the output. >> >> Buildfile: build.xml >> >> init: >> >> compile: >> >> producer: >> [echo] Running producer against server at $url = >> stomp://localhost:61613 fo >> r subject $subject = TEST.FOO >> [java] Connecting to URL: stomp://localhost:61613 >> [java] Publishing a Message with size 1000 to queue: TEST.FOO >> [java] Using non-persistent messages >> [java] Sleeping between publish 0 ms >> >> >> >> >> >> >> >> >> Tom Samplonius-2 wrote: >> > >> > >> > ----- "zeric" wrote: >> >> I also met this problem. >> >> Version 4.1.1, 3.2.2, 5.0, and latest snapshot were used. >> >> But no use at all. >> >> >> >> Please help. >> > >> > Do you have a simple script which can reliably re-produce the hang? >> > >> > >> > Tom >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/STOMP-connections-hanging-tf3641573s2354.html#a11700828 >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >> >> > > > -- > Regards, > Hiram > > Blog: http://hiramchirino.com > > -- View this message in context: http://www.nabble.com/STOMP-connections-hanging-tf3641573s2354.html#a11701722 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.