-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
-
+
After receiving a JMS BytesMessage (ActiveMQBytesMessage), calling:
{{message.clearProperties();
message.setObjectProperty("key","value" );
}}
fails with MessageNotWriteableException.
*According to the spec
*When a client receives a message, its properties are in read-only mode. If a client attempts to set properties at this point, a MessageNotWriteableException is thrown. If clearProperties is called, the properties can now be both read from and written to. Note that header fields are distinct from properties. Header fields are never in read-only mode.