Product Information > JADE Error Messages and System Messages > 31700 through 31899 - Messaging Framework Errors > 31729 - Property is readonly

31729   Property is readonly

Cause

This error occurs when an attempt is made to set the value of a read-only property of a JADE messaging framework entity.

In the following example, an attempt is made to alter the read-only expiresWhen property of a JadeGenericMessage object by using setPropertyValue property of the Object class.

msg.setPropertyValue("expiresWhen",ts);          // ts is a TimeStamp value

Action

Do not use setPropertyValue method to change a read-only property of a JADE messaging framework entity.