activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khandelwalanuj <khandelwal.anu...@gmail.com>
Subject ActiveMQ Perl Consumer error: cannot sysread(): EOF
Date Mon, 03 Mar 2014 10:41:43 GMT
Hi,

I am using use "Net::STOMP::Client" module for my perl consumer. I am
talking about the case when there is a producer on the topic/queue on which
this consumer is connecting, so I keeps receiving the frames.
I debug and checked the frames are like:
*"Net::STOMP::Client::Frame=HASH(0x3ec26f0)"*

Now If i stop the producer, in this case when client waits for the frame
using "*$frame = $self->SUPER::wait_for_frames(timeout => $sleep_time);"
*

It shows* "Error: *** Net::STOMP::Client::IO::receive_data(): cannot
sysread(): EOF"* Exception and gets disconnected from the broker. 
Can you please let me know what is the significance of the above exceptions
and what wrong am I doing ? I think ideally it should keep waiting for the
frame till sleep_time (in my config it is 30 seconds).

Thanks,
Anuj






--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Perl-Consumer-error-cannot-sysread-EOF-tp4678456.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message