public abstract class AbstractMessage<T> extends Object implements javax.jms.Message, Serializable
NevadoMessage
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String[] |
RESERVED_PROPERTY_NAMES |
static String |
WHITESPACE_CHARS |
Constructor and Description |
---|
AbstractMessage() |
public static final String WHITESPACE_CHARS
public static final String[] RESERVED_PROPERTY_NAMES
public String getJMSMessageID() throws javax.jms.JMSException
getJMSMessageID
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSMessageID(String messageID) throws javax.jms.JMSException
setJMSMessageID
in interface javax.jms.Message
javax.jms.JMSException
public long getJMSTimestamp() throws javax.jms.JMSException
getJMSTimestamp
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSTimestamp(long timestamp) throws javax.jms.JMSException
setJMSTimestamp
in interface javax.jms.Message
javax.jms.JMSException
public byte[] getJMSCorrelationIDAsBytes() throws javax.jms.JMSException
getJMSCorrelationIDAsBytes
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSCorrelationIDAsBytes(byte[] correlationID) throws javax.jms.JMSException
setJMSCorrelationIDAsBytes
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSCorrelationID(String correlationID) throws javax.jms.JMSException
setJMSCorrelationID
in interface javax.jms.Message
javax.jms.JMSException
public String getJMSCorrelationID() throws javax.jms.JMSException
getJMSCorrelationID
in interface javax.jms.Message
javax.jms.JMSException
public javax.jms.Destination getJMSReplyTo() throws javax.jms.JMSException
getJMSReplyTo
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSReplyTo(javax.jms.Destination jmsReplyTo) throws javax.jms.JMSException
setJMSReplyTo
in interface javax.jms.Message
javax.jms.JMSException
public javax.jms.Destination getJMSDestination() throws javax.jms.JMSException
getJMSDestination
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSDestination(javax.jms.Destination destination) throws javax.jms.JMSException
setJMSDestination
in interface javax.jms.Message
javax.jms.JMSException
public int getJMSDeliveryMode() throws javax.jms.JMSException
getJMSDeliveryMode
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSDeliveryMode(int deliveryMode) throws javax.jms.JMSException
setJMSDeliveryMode
in interface javax.jms.Message
javax.jms.JMSException
public boolean getJMSRedelivered() throws javax.jms.JMSException
getJMSRedelivered
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSRedelivered(boolean redelivered) throws javax.jms.JMSException
setJMSRedelivered
in interface javax.jms.Message
javax.jms.JMSException
public String getJMSType() throws javax.jms.JMSException
getJMSType
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSType(String type) throws javax.jms.JMSException
setJMSType
in interface javax.jms.Message
javax.jms.JMSException
public long getJMSExpiration() throws javax.jms.JMSException
getJMSExpiration
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSExpiration(long expiration) throws javax.jms.JMSException
setJMSExpiration
in interface javax.jms.Message
javax.jms.JMSException
public int getJMSPriority() throws javax.jms.JMSException
getJMSPriority
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSPriority(int priority) throws javax.jms.JMSException
setJMSPriority
in interface javax.jms.Message
javax.jms.JMSException
public void clearProperties() throws javax.jms.JMSException
clearProperties
in interface javax.jms.Message
javax.jms.JMSException
public abstract void internalClearBody() throws javax.jms.JMSException
javax.jms.JMSException
public void clearBody() throws javax.jms.JMSException
clearBody
in interface javax.jms.Message
javax.jms.JMSException
public boolean propertyExists(String propertyName) throws javax.jms.JMSException
propertyExists
in interface javax.jms.Message
javax.jms.JMSException
public boolean getBooleanProperty(String name) throws javax.jms.JMSException
getBooleanProperty
in interface javax.jms.Message
javax.jms.JMSException
public byte getByteProperty(String name) throws javax.jms.JMSException
getByteProperty
in interface javax.jms.Message
javax.jms.JMSException
public short getShortProperty(String name) throws javax.jms.JMSException
getShortProperty
in interface javax.jms.Message
javax.jms.JMSException
public int getIntProperty(String name) throws javax.jms.JMSException
getIntProperty
in interface javax.jms.Message
javax.jms.JMSException
public long getLongProperty(String name) throws javax.jms.JMSException
getLongProperty
in interface javax.jms.Message
javax.jms.JMSException
public float getFloatProperty(String name) throws javax.jms.JMSException
getFloatProperty
in interface javax.jms.Message
javax.jms.JMSException
public double getDoubleProperty(String name) throws javax.jms.JMSException
getDoubleProperty
in interface javax.jms.Message
javax.jms.JMSException
public String getStringProperty(String name) throws javax.jms.JMSException
getStringProperty
in interface javax.jms.Message
javax.jms.JMSException
public Object getObjectProperty(String name) throws javax.jms.JMSException
getObjectProperty
in interface javax.jms.Message
javax.jms.JMSException
public Enumeration getPropertyNames() throws javax.jms.JMSException
getPropertyNames
in interface javax.jms.Message
javax.jms.JMSException
public void setBooleanProperty(String name, boolean value) throws javax.jms.JMSException
setBooleanProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setByteProperty(String name, byte value) throws javax.jms.JMSException
setByteProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setShortProperty(String name, short value) throws javax.jms.JMSException
setShortProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setIntProperty(String name, int value) throws javax.jms.JMSException
setIntProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setLongProperty(String name, long value) throws javax.jms.JMSException
setLongProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setFloatProperty(String name, float value) throws javax.jms.JMSException
setFloatProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setDoubleProperty(String name, double value) throws javax.jms.JMSException
setDoubleProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setStringProperty(String name, String value) throws javax.jms.JMSException
setStringProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setObjectProperty(String name, Object value) throws javax.jms.JMSException
setObjectProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setObjectPropertyIgnoreReadOnly(String name, Object value) throws javax.jms.JMSException
javax.jms.JMSException
protected void internalSetObjectProperty(String name, Object value) throws javax.jms.JMSException
javax.jms.JMSException
public abstract void acknowledge() throws javax.jms.JMSException
acknowledge
in interface javax.jms.Message
javax.jms.JMSException
protected void checkReadOnlyBody() throws javax.jms.MessageNotWriteableException
javax.jms.MessageNotWriteableException
protected void checkWriteOnlyBody() throws javax.jms.MessageNotReadableException
javax.jms.MessageNotReadableException
public void onSend()
public T copyOf() throws javax.jms.JMSException
javax.jms.JMSException
Copyright © 2014. All Rights Reserved.