175176177178179180181182183
} public void writeChar(char value) throws JMSException { if (bodyReadOnly) throw new MessageNotWriteableException("The message body is readonly"); bodyChange(); ((StreamMessage)message).writeChar(value); }
183184185186187188189190191
} public void writeDouble(double value) throws JMSException { if (bodyReadOnly) throw new MessageNotWriteableException("The message body is readonly"); bodyChange(); ((StreamMessage)message).writeDouble(value); }
191192193194195196197198199
} public void writeFloat(float value) throws JMSException { if (bodyReadOnly) throw new MessageNotWriteableException("The message body is readonly"); bodyChange(); ((StreamMessage)message).writeFloat(value); }
199200201202203204205206207
} public void writeInt(int value) throws JMSException { if (bodyReadOnly) throw new MessageNotWriteableException("The message body is readonly"); bodyChange(); ((StreamMessage)message).writeInt(value); }
207208209210211212213214215
} public void writeLong(long value) throws JMSException { if (bodyReadOnly) throw new MessageNotWriteableException("The message body is readonly"); bodyChange(); ((StreamMessage)message).writeLong(value); }
215216217218219220221222223
} public void writeObject(Object value) throws JMSException { if (bodyReadOnly) throw new MessageNotWriteableException("The message body is readonly"); bodyChange(); ((StreamMessage)message).writeObject(value); }
223224225226227228229230231
} public void writeShort(short value) throws JMSException { if (bodyReadOnly) throw new MessageNotWriteableException("The message body is readonly"); bodyChange(); ((StreamMessage)message).writeShort(value); }
231232233234235236237238239
} public void writeString(String value) throws JMSException { if (bodyReadOnly) throw new MessageNotWriteableException("The message body is readonly"); bodyChange(); ((StreamMessage)message).writeString(value); }
51525354555657585960
public void setObject(Serializable object) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("setObject"); } bodyChange(); ((ObjectMessage)message).setObject(object); }
111112113114115116117118119120
public void setBoolean(String name, boolean value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("Message is ReadOnly !"); } bodyChange(); ((MapMessage)message).setBoolean(name, value); }