Method Summary |
|
public void | acknowledge() Acknowledge receipt of this message. |
public InputStream | bodyToInputStream() Serialize the body to an input stream. |
protected void | checkBodyReadable() |
protected void | checkBodyWriteable() |
protected void | checkHeaderWriteable() |
protected void | checkPropertyWriteable() |
public void | clearBody() Clears the body, setting write mode. |
public void | clearProperties() Clears the message properties, making them writeable. |
public MessageImpl | copy() |
protected void | copy(MessageImpl newMsg) |
public boolean | getBooleanProperty(String name) Returns a boolean property with the given name. |
public byte | getByteProperty(String name) |
public double | getDoubleProperty(String name) |
public float | getFloatProperty(String name) |
public int | getIntProperty(String name) |
public String | getJMSCorrelationID() Returns the correlation id. |
public byte[] | getJMSCorrelationIDAsBytes() Returns the correlation id. |
public int | getJMSDeliveryMode() |
public Destination | getJMSDestination() |
public long | getJMSExpiration() Returns the message expiration time. |
public String | getJMSMessageID() Returns the message id. |
public int | getJMSPriority() Returns the message priority. |
public boolean | getJMSRedelivered() Returns if the message is being redelivered. |
public Destination | getJMSReplyTo() |
public long | getJMSTimestamp() Returns the time the message was sent. |
public String | getJMSType() |
public long | getLongProperty(String name) |
public Object | getObjectProperty(String name) Returns a string property. |
public HashMap<String, Object> | getProperties() Returns the properties. |
public Enumeration | getPropertyNames() Returns an enumeration of the message's properties. |
public short | getShortProperty(String name) |
public String | getStringProperty(String name) Returns a string property. |
public MessageType | getType() Returns the type enumeration. |
public static boolean | isReserved(String name) |
public InputStream | propertiesToInputStream() Serialize the properties to an input stream. |
public boolean | propertyExists(String name) Returns true if the property exists. |
public void | readBody(InputStream is) Read the body from an input stream. |
public void | readProperties(InputStream is) Read the properties from an input stream. |
protected void | setBodyReadOnly() Sets the body for reading. |
public void | setBooleanProperty(String name, boolean value) Sets a boolean property. |
public void | setByteProperty(String name, byte value) Sets a byte property. |
public void | setDoubleProperty(String name, double value) Sets a double property. |
public void | setFloatProperty(String name, float value) Sets a float property. |
public void | setIntProperty(String name, int value) Sets an integer property. |
public void | setJMSCorrelationID(String id) Sets the correlation id. |
public void | setJMSCorrelationIDAsBytes(byte[] id) Sets the correlation id. |
public void | setJMSDeliveryMode(int deliveryMode) |
public void | setJMSDestination(Destination destination) |
public void | setJMSExpiration(long time) Sets the message expiration type. |
public void | setJMSMessageID(String id) Sets the message id. |
public void | setJMSPriority(int priority) Sets the message priority. |
public void | setJMSRedelivered(boolean isRedelivered) Sets if the message is being redelivered. |
public void | setJMSReplyTo(Destination replyTo) |
public void | setJMSTimestamp(long time) Sets the time the message was sent. |
public void | setJMSType(String type) Sets the message type. |
public void | setLongProperty(String name, long value) Sets a long property. |
public void | setObjectProperty(String name, Object value) Sets an object property. |
public void | setReceive() Sets the body for reading. |
public void | setSession(JmsSession session) Sets the session. |
public void | setShortProperty(String name, short value) Sets a short property. |
public void | setStringProperty(String name, String value) Sets a string property. |
public String | toString() |
public void | writeBody(OutputStream os) Serialize the body to an output stream. |
public void | writeProperties(OutputStream os) Serialize the properties to an input stream. |