jsr343-experts@jms-spec.java.net

[jsr343-experts] Re: (JMS_SPEC-55) Define a standard way to configure the connection factory used by a JMS MDB to consume messages

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Wed, 23 Nov 2011 17:56:22 +0000

On 07/11/2011 14:42, Nigel Deakin wrote:
> I have raised this JIRA issue
> http://java.net/jira/browse/JMS_SPEC-55
>
> This is a companion issue to http://java.net/jira/browse/JMS_SPEC-54 (Define a standard way to configure the destination
> on which a JMS MDB consumes messages) and is part of my goal to standardise the way in which MDB applications are written.
>
> This isn't actually a JMS issue, it's a MDB issue, though I haven't reviewed this yet with the Java EE and EJB spec leads.
>
> The issue description is below, but it may be easier to read the formatted version using the JIRA link above.
>
> This proposal suggests some new XML element and annotation attribute names: I expect these will be subject to change.
>
> As always, comments welcome. There are some alternative options below. Which do you prefer?
>
> a) Neither
> b) New mandatory activation property connectionFactoryJndiName
> c) New element <connection-factory-jndi-name> and corresponding annotation @MessageDriven(connectionFactoryJndiName=...
> d) Both b) and c)
>
> Nigel

Following a discussion with the EJB 3.2 spec lead, I've logged this as an EJB 3.2 issue
http://java.net/jira/browse/EJB_SPEC-43.

No-one has expressed views on the alternative options proposed.

Nigel