You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Chris T." <th...@gmx.ch> on 2007/02/24 18:02:17 UTC
Running ruby example multiple times
Hi all
To successfully run the ruby examples
(apache-activemq-4.1.0-incubator/example/ruby/*) multiple times, you have -
at least - to append the following line to publisher.rb
@conn.disconnect
Regards,
Chris
--
View this message in context: http://www.nabble.com/Running-ruby-example-multiple-times-tf3284331s2354.html#a9135683
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Running ruby example multiple times
Posted by James Strachan <ja...@gmail.com>.
On 2/24/07, Chris T. <th...@gmx.ch> wrote:
>
> Hi all
>
> To successfully run the ruby examples
> (apache-activemq-4.1.0-incubator/example/ruby/*) multiple times, you have -
> at least - to append the following line to publisher.rb
>
> @conn.disconnect
Thanks for that! I've patched the examples
FWIW 4.2-SNAPSHOT can deal properly with STOMP clients which just
terminate without explicitly disconnecting (there was a bug in
ActiveMQ not dealing with that).
--
James
-------
http://radio.weblogs.com/0112098/