On 09/09/16 06:39, 634749...@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-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to