You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2006/11/22 15:42:02 UTC
[jira] Assigned: (QPID-122) JMS*Message do not throw
MessageNotWriteableException when setting value on a delivered message.
[ http://issues.apache.org/jira/browse/QPID-122?page=all ]
Martin Ritchie reassigned QPID-122:
-----------------------------------
Assignee: Martin Ritchie
> JMS*Message do not throw MessageNotWriteableException when setting value on a delivered message.
> ------------------------------------------------------------------------------------------------
>
> Key: QPID-122
> URL: http://issues.apache.org/jira/browse/QPID-122
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M1
> Reporter: Martin Ritchie
> Assigned To: Martin Ritchie
> Fix For: M2
>
>
> As per http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Message.html
> Attempting to set a value on a delivered message should throw an exception.. Test updated (but not commited) to confirm.
> Add this after
> actual.add(m.getText());
> in check()
> try
> {
> m.setText("Test text");
> Assert.fail("Message should not be writeable");
> }
> catch (MessageNotWriteableException mnwe)
> {
> //normal execution
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira