On 26/09/2007, Gordon Sim <[EMAIL PROTECTED]> wrote:

> I think I would find it odd if an implementation kept pumping through
> messages after I called close, particularly calling it on a Session.
> That should at least be an option; after all perhaps the session is
> being closed because processing has to be interrupted due to
> unavailability of some resource, or due to a user action.

I agree. Having been thinking about this, my issue is that although
from a protocol perspective prefetched messages are "delivered", I
view prefetching as an optimisation and from the client developer's
perspective those message can really be thought of as on the broker.
Therefore if you still get messages when you close() that is really
like continuing to deliver messages from the broker, at least that is
how it appears to the client developer.

RG

Reply via email to