jsr343-experts@jms-spec.java.net

[jsr343-experts] Re: JMS 2.0 Priorities: Proposal from Emran Shaik

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Mon, 04 Jul 2011 17:17:17 +0100

Emran,

You requested:

>>> - Bulk send / Batched acknowledge support, with failure callbacks to handle failures.

I asked:

>> Can you please say a bit more about what you mean by these features? Why would you need failure callbacks?

You replied:
>
> The idea behind the failure callbacks here is to provide flexibility for the end-user to plug-in customized
> implementations of callback handlers. Just similar to the way we set customized implementations of Exception Listener
> on the Connection through the setExceptionListener(..) method. So, through the callback handlers, the end-user can
> provide his own implementation if he wants to override the container's default behaviour of handling exceptions
> during bulk sends / acknowledgements.

You didn't explain what you meant by "bulk send/batched acknowledge". Can you perhaps give an example of that the API
might be? Then your comment on failure callbacks might be easier to understand.

Nigel