Ruby Stomp with timeouts

View: New views
1 Messages — Rating Filter:   Alert me  

Ruby Stomp with timeouts

by Peter Ohler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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