users@jms-spec.java.net

[jms-spec users] [jsr343-experts] Re: (JMS_SPEC-70) Define annotations for injecting MessagingContext objects

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Fri, 10 Feb 2012 15:15:37 +0000

>
> I propose to add this proposal on injection to the early draft, if there are no objections. Even though I am trying to
> freeze its content, I think the addition of injection makes the simplified API proposal more complete.
>

I've now updated the API, javadocs and the draft spec in accordance with the proposals made above.

The updated API and Javadocs are here:
http://java.net/projects/jms-spec/sources/repository/content/jms2.0/target/jms-2.0-javadoc.jar

The only changes are the two annotations javax.jms.JMSConnectionFactory and javax.jms.JMSSession.

The updated draft spec is here:
http://java.net/projects/jms-spec/sources/repository/content/jms2.0/specification/word/JMS20.pdf

See particularly the new section 13.3 "Injection of MessagingContext objects" and a full set of examples in section 11.4
"Examples using the simplified API". The change log for the simplified API, section B.5.12 has also been updated.

Nigel