Ruby Stomp with timeouts

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Ruby Stomp with timeouts

Peter Ohler
We needed to use Stomp with timeouts and I thought adding a timeout  
argument to Connection.open and to Connection.receive was the best way  
to do that. I used Ruby 1.9.1 and changed the code to use nonblocking  
sockets and then buffered the input. If you feel this is appropriate I  
would be glad to contribute the code.

-Peter

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email