Re: async send message blocked forever

2016-09-20 Thread Gordon Sim

On 20/09/16 09:39, 634749...@qq.com wrote:

thanks!
   the message is not large, the depth of the queue information flowed:



The stack trace looks like the sender is waiting for confirmation of 
previously sent messages. As the broker is not in flow control, I'm not 
sure why it is not getting the confirmations. You could try getting a 
protocol trace e.g. QPID_LOG_ENABLE=trace+:Network. Can you reproduce a 
similar issue using qpid-send?



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



Re: async send message blocked forever

2016-09-20 Thread 634749...@qq.com
 Is any information useful?  Look forward to your reply,thanks!
  




--
View this message in context: 
http://qpid.2158936.n2.nabble.com/async-send-message-blocked-forever-tp7650922p7650927.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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



Re: async send message blocked forever

2016-09-20 Thread 634749...@qq.com
thanks!
   the message is not large, the depth of the queue information flowed:
 



--
View this message in context: 
http://qpid.2158936.n2.nabble.com/async-send-message-blocked-forever-tp7650922p7650926.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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



Re: async send message blocked forever

2016-09-20 Thread Gordon Sim

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;




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