Hi Gordon,

I have played with the qpid.session.byte_limit and it does affect the
behavior. When I increased the limit to 1024 * 1024 * 10 I was able to send
100 messages. On the other hand, when I switched to smaller messages (1024
bytes size) and decreased the byte_limit to 1024 bytes the problem appeared
again. I have tried to debug the Java client and I have seen that:

- invoke Method in Session.java throws "timed out waiting for completion"
exception
- reason is that isFull() method returns true (comparison of internal
commandBytes counter vs byte_limit)
- looks like complete() method was not called and this is the single place
where commandBytes could be decreased (to 0); otherwise isFull() will always
return true

Thanks.




--
View this message in context: 
http://qpid.2158936.n2.nabble.com/Unable-to-send-1MB-messages-in-asynchronous-mode-tp7643793p7644331.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to