jsr345-experts@ejb-spec.java.net

[jsr345-experts] Re: [ejb-spec users] EJB/MDB improvements described in EJB_SPEC-43

From: Adam Bien <abien_at_adam-bien.com>
Date: Thu, 19 Apr 2012 14:26:32 +0200

On 19.04.2012, at 10:51, Carlo de Wolf <cdewolf_at_redhat.com> wrote:

> +1 on 1)
>
> I would rather not tie MDB's more to JMS.
> To me it would make more sense if we had a facility that allowed propagation of metadata into the RAR via other means.
>
> @MessageDriven
> @ConnectionFactoryJndiName("foo")
> public class MyMDB { }
>
> <message-driven>
> <jms:connection-factory-jndi-name>foo</jms:connection-factory-jndi-name>
> </message-driven>
>
> That way any type of inflow can benefit from this proposal.
>
> Carlo

+1 for direct JCA support
>
> On 04/17/2012 12:41 AM, Marina Vatkina wrote:
>> Experts,
>>
>> JMS 2.0 EG proposed chages to MDBs described in EJB_SPEC-43. Please read (if you hadn't done so) the proposed chages and vote on the following options at the bottom of the description:
>>
>> 1) New mandatory activation property connectionFactoryJndiName
>> 2) New element <connection-factory-jndi-name> and corresponding annotation @MessageDriven(connectionFactoryJndiName=...
>> 3) Both 1) and 2)
>> 4) Neither
>>
>> thanks,
>> -marina
>