On 06/19/2012 12:26 AM, Noel OConnor wrote:
Thanks for this Gordon,
I managed to get around this by call ((AMQSession) session).sync(); every
few messages.
Actually, thats a good point... you can also have the library do that
for you by setting the qpid.session.command_limit system property. This
limits the number of outstanding commands (i.e. commands waiting for
'completion'). It is not quite the same thing as messages as there are
some other commands, but setting it to a value similar to the frequency
at which you are manually calling sync should also work.
Do you know if there are any plans to fix this or should I raise a BZ ?
Raising a JIRA would be great, thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]