343344345346347348349350351
} public void setBooleanProperty(String name, boolean value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); headerChange(); message.setBooleanProperty(name, value); }
351352353354355356357358359
} public void setByteProperty(String name, byte value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); headerChange(); message.setByteProperty(name, value); }
359360361362363364365366367
} public void setShortProperty(String name, short value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); headerChange(); message.setShortProperty(name, value); }
367368369370371372373374375
} public void setIntProperty(String name, int value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); headerChange(); message.setIntProperty(name, value); }
375376377378379380381382383
} public void setLongProperty(String name, long value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); headerChange(); message.setLongProperty(name, value); }
383384385386387388389390391
} public void setFloatProperty(String name, float value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); headerChange(); message.setFloatProperty(name, value); }
391392393394395396397398399
} public void setDoubleProperty(String name, double value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); headerChange(); message.setDoubleProperty(name, value); }
399400401402403404405406407
} public void setStringProperty(String name, String value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); headerChange(); message.setStringProperty(name, value); }
407408409410411412413414415
} public void setObjectProperty(String name, Object value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); headerChange(); message.setObjectProperty(name, value); }
918919920921922923924925
protected void checkWritableProperties() throws MessageNotWriteableException { if (_readableProperties) { throw new MessageNotWriteableException("You need to call clearProperties() to make the message writable"); } }