qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Receiver fetch mybey block forever
Date Mon, 12 Sep 2016 13:10:59 GMT
On 09/09/16 06:39, 634749030@qq.com wrote:
> hello!
>
> I use the c++ broker and c++ client api(version 0.34);the broker running on
> centos,and the client on windows server 2008;
> if the network is not stability between client and broker , I found the
> receive fetch() function maybe block forever.
>
> eg:
> 	Receiver receiver;
> 	Message message;
> 	while(receiver.fetch(message,Duration::IMMEDIATE))
> 	{
> 	    // ...
> 	}

Can you get a thread dump when it is blocked? Is the process using any 
CPU at that point?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message