Re: flow control - "resource-limit-exceeded"

2009-07-14 Thread Gordon Sim
Andy Li wrote: Hi, What is the best way for the producer to recover (after a pause) and continue sending messages after "resource-limit-exceeded" exception, when the queue on the broker fills up? Is it necessary to close/reopen connection, as it seems? Creating a new session should be suffici

flow control - "resource-limit-exceeded"

2009-07-13 Thread Andy Li
Hi, What is the best way for the producer to recover (after a pause) and continue sending messages after "resource-limit-exceeded" exception, when the queue on the broker fills up? Is it necessary to close/reopen connection, as it seems? With async sending, how should we pick a point in the messag