in reply to Net::Stomp receive_frame method always blocks (ignores timeout parameter)
From looking at the code of Net/Stomp.pm, it seems that the timeout will only ever apply to receiving the first byte of a frame, not to reading the whole frame.
Have you looked at employing one of the event-based systems, like AnyEvent or POE (which has POE::Component::MessageQueue that claims to be STOMP)?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::Stomp receive_frame method always blocks (ignores timeout parameter)
by PPJ (Initiate) on Aug 16, 2010 at 13:25 UTC | |
by PPJ (Initiate) on Aug 18, 2010 at 20:23 UTC |