On 20/09/16 09:04, 634749...@qq.com wrote:
HI:
   I user the c++ broker(verison 0.34) and the c++ API on windows,but I
found the send() function of sender maybe blocked forever, I did not start
the flow stop,and send message async;
example code:
       Sender sender = session.createSender(address);
       sender.setCapacity(1000);
       while(true)
       {
              sender.send(msg,false);
       }

the stack describe in the picture;
<http://qpid.2158936.n2.nabble.com/file/n7650922/stack.png>


What is the depth of the queue you are sending to? If it is large, you may be flow controlled. If that is the case you can alter the settings to avoid, or postpone, the flow control if desired.


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

Reply via email to