jsr368-experts@jms-spec.java.net

[jsr368-experts] JMS 2.0 errata: MS_SPEC-164 (Typos in section 7.3.5 and 12.2: Change Session to MessageProducer)

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Fri, 02 Jan 2015 11:38:33 +0000

A colleague has reported another typo in the JMS 2.0 spec which I have logged as
https://java.net/jira/browse/JMS_SPEC-164
(Typos in section 7.3.5 and 12.2: Change Session to MessageProducer)
and will include in the JMS 2.0 errata.

The typo is trivial. JMS 2.0 section 7.3.5. "Restrictions on usage in Java EE" and section 12.2 "Restrictions on the use
of JMS API in the Java EE web or EJB container" contain references to various send methods. The spec states that these
are on javax.jms.Session when they are actually on javax.jms.MessageProducer.

As always, these changes are also logged in the JIRA issue https://java.net/jira/browse/JMS_SPEC-164

Changes to 7.3.5. "Restrictions on usage in Java EE"
----------------------------------------------------

Existing text

* javax.jms.Session method send(Message message, CompletionListener completionListener)
* javax.jms.Session method send(Message message, int deliveryMode, int priority, long timeToLive, CompletionListener
completionListener)
* javax.jms.Session method send(Destination destination, Message message, CompletionListener completionListener)
* javax.jms.Session method send(Destination destination, Message message, int deliveryMode, int priority, long
timeToLive, CompletionListener completionListener)

Replacement text

* javax.jms.MessageProducer method send(Message message, CompletionListener completionListener)
* javax.jms.MessageProducer method send(Message message, int deliveryMode, int priority, long timeToLive,
CompletionListener completionListener)
* javax.jms.MessageProducer method send(Destination destination, Message message, CompletionListener completionListener)
* javax.jms.MessageProducer method send(Destination destination, Message message, int deliveryMode, int priority, long
timeToLive, CompletionListener completionListener)

Changes to 12.2 "Restrictions on the use of JMS API in the Java EE web or EJB container"
----------------------------------------------------------------------------------------

Existing text

* javax.jms.Session method send(Message message, CompletionListener completionListener)
* javax.jms.Session method send(Message message, int deliveryMode, int priority, long timeToLive, CompletionListener
completionListener)
* javax.jms.Session method send(Destination destination, Message message, CompletionListener completionListener)
* javax.jms.Session method send(Destination destination, Message message, int deliveryMode, int priority, long
timeToLive, CompletionListener completionListener)

Replacement text

* javax.jms.MessageProducer method send(Message message, CompletionListener completionListener)
* javax.jms.MessageProducer method send(Message message, int deliveryMode, int priority, long timeToLive,
CompletionListener completionListener)
* javax.jms.MessageProducer method send(Destination destination, Message message, CompletionListener completionListener)
* javax.jms.MessageProducer method send(Destination destination, Message message, int deliveryMode, int priority, long
timeToLive, CompletionListener completionListener)