You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Oscar Pernas <os...@pernas.es> on 2011/02/22 16:37:10 UTC

AMQCPP. Closing consumer freezes if broker is stopped while is consuming

Hi,

When the consumer is consuming messages, if I stop the broker, and after
that I try to delete the consumer, the closing method stops in this
instruction:

if( consumer != NULL ) delete consumer;

This delete, freezes all the application, and never return back. Have I have
to use some instruction before to stop consuming? any idea?


regards



-- 
Óscar Pernas Plaza.