388389390391392393394395396397398
public void writeDouble(final double value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeDouble(value); }
404405406407408409410411412413414
public void writeUTF(final String value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeUTF(value); }
420421422423424425426427428429430
public void writeBytes(final byte[] value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.write(value, 0, value.length); }
436437438439440441442443444445446
public void writeBytes(final byte[] value, final int offset, final int length) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.write(value, offset, length); }
452453454455456457458459460461462
public void writeObject(final Object value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { if (value == null) {
549550551552553554555556557
public void writeBoolean(final boolean value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("The message body is readonly"); } content.add(Primitives.valueOf(value)); }
558559560561562563564565566
public void writeByte(final byte value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("The message body is readonly"); } content.add(new Byte(value)); }
567568569570571572573574575
public void writeShort(final short value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("The message body is readonly"); } content.add(new Short(value)); }
576577578579580581582583584
public void writeChar(final char value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("The message body is readonly"); } content.add(new Character(value)); }
585586587588589590591592593
public void writeInt(final int value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("The message body is readonly"); } content.add(new Integer(value)); }