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 ideal timeout
Date Wed, 05 Mar 2014 09:03:18 GMT
Hi,

I am using Net::STOMP:CLIENT perl module and trying to connect my consumer
to the broker. When Consumer remains ideal for 15 seconds, broker
disconnects my consumer. Why so ? 
Is there an idealtime after which I need to send messages from my perl
client to keep the connection alive.

I am using 
*$frame = $self->SUPER::wait_for_frames();*

I also tried with
$frame = $self->SUPER::wait_for_frames(timeout => 30);

But it disconnects after 15 seconds.

But when I use 
$frame = $self->SUPER::wait_for_frames(timeout => 5);
I am able to keep alive my connections.



Thanks,
Anuj



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-perl-consumer-ideal-timeout-tp4678538.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message