You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by manua <ag...@gmail.com> on 2011/10/05 19:51:43 UTC

Activemq Perl consumer miss messages from the queu

HI,

I have the setup where my consumer receives a message, unsubscribe from the
queue, process the message and starts another instance of the same
consumer.In this process, I am losing some message in between.

Is it due to the prefetch size, When the prefetch size was more, it was
loosing more messages, but when I made the prefetch size to 1, it looses
just one message.

Is there a way to avoid this, so that no message is lost.

Thanks
Manu

--
View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-Perl-consumer-miss-messages-from-the-queu-tp3875608p3875608.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Activemq Perl consumer miss messages from the queu

Posted by manua <ag...@gmail.com>.
just to add to the previous post, if the message processing takes time, it
works fine.But if the message processing is fast, it misses some messages in
between.

--
View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-Perl-consumer-miss-messages-from-the-queu-tp3875608p3875616.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.