[JMS_SPEC-79] New factory methods to create BytesMessage and MapMessage and set the payload Created: 20/Feb/12  Updated: 28/Mar/12

Status: Open
Project: jms-spec
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Nigel Deakin Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: pd20-forreview-minor

 Description   

In JMS 1.1 the following methods on Session can be used to create a ObjectMessage or TextMessage and set the payload at the same time:

createObjectMessage(Serializable object)
createTextMessage(String text)

However there are no equivalent methods for BytesMessage and MapMessage. It is therefore proposed that the following new methods be added to Session (and MessagingContext):

createBytesMessage(byte[] bytes)
createMapMessage(Map map)

Generated at Mon Dec 05 19:18:49 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.