users@jms-spec.java.net

[jms-spec users] Re: JMS_SPEC-36: Batch delivery

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Tue, 13 Oct 2015 12:56:54 +0100

On 12/10/2015 16:24, Clebert Suconic wrote:
> explaining what I meant on my previous email....
>
> Someone asked the message grouping to be handled like the follwowing:

That was Tom Barnes (my colleague here at Oracle).

>
> Imaging the Resource Adapter implementation:
>
>
> Tx.begin(); << pseudo-language:
> for (int i = 0 ; i < 1000; i++) {
> MDB.callbackmethod(consumer.receive(TIMEOUT));
> }
> TX.commit();
>
>
>
> And I don't think we should do that.. that could be easily a specific
> AS implementation without requiring any changes to the Spec.
>

And indeed WebLogic has such a feature right now. The question is whether it should become a standard feature (in
addition to batch delivery), configured using a standard MDB configuration option.

Nigel