Product Information > JADE Error Messages and System Messages > 31700 through 31899 - Messaging Framework Errors > 31731 - Cannot modify message attributes

31731   Cannot modify message attributes

Cause

This error occurs if you attempt to change the value of the property of a JadeGenericMessage instance after calling the beginMessage or putMessage method of the JadeGenericQueue class.

In the following example, an attempt is made to set the replyQueueFullName property of a JadeGenericMessage instance after calling the beginMessage method. (The property should be set before calling the beginMessage method.)

myQueue.beginMessage(msg, "Timeout=10000");
msg.replyQueueFullName := myQueue.fullName;

Action

Correct your code.