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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> 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.
