public class DelegateMessage
extends java.lang.Object
Constructor and Description |
---|
DelegateMessage(Message message) |
Modifier and Type | Method and Description |
---|---|
void |
acknowledge() |
void |
clearBody() |
void |
clearProperties() |
<T> T |
getBody(java.lang.Class<T> c) |
boolean |
getBooleanProperty(java.lang.String name) |
byte |
getByteProperty(java.lang.String name) |
double |
getDoubleProperty(java.lang.String name) |
float |
getFloatProperty(java.lang.String name) |
int |
getIntProperty(java.lang.String name) |
java.lang.String |
getJMSCorrelationID() |
byte[] |
getJMSCorrelationIDAsBytes() |
int |
getJMSDeliveryMode() |
long |
getJMSDeliveryTime() |
Destination |
getJMSDestination() |
long |
getJMSExpiration() |
java.lang.String |
getJMSMessageID() |
int |
getJMSPriority() |
boolean |
getJMSRedelivered() |
Destination |
getJMSReplyTo() |
long |
getJMSTimestamp() |
java.lang.String |
getJMSType() |
long |
getLongProperty(java.lang.String name) |
java.lang.Object |
getObjectProperty(java.lang.String name) |
java.util.Enumeration |
getPropertyNames() |
short |
getShortProperty(java.lang.String name) |
java.lang.String |
getStringProperty(java.lang.String name) |
boolean |
isBodyAssignableTo(java.lang.Class c) |
boolean |
propertyExists(java.lang.String name) |
void |
setBooleanProperty(java.lang.String name,
boolean value) |
void |
setByteProperty(java.lang.String name,
byte value) |
void |
setDoubleProperty(java.lang.String name,
double value) |
void |
setFloatProperty(java.lang.String name,
float value) |
void |
setIntProperty(java.lang.String name,
int value) |
void |
setJMSCorrelationID(java.lang.String correlationID) |
void |
setJMSCorrelationIDAsBytes(byte[] correlationID) |
void |
setJMSDeliveryMode(int deliveryMode) |
void |
setJMSDeliveryTime(long deliveryTime) |
void |
setJMSDestination(Destination destination) |
void |
setJMSExpiration(long expiration) |
void |
setJMSMessageID(java.lang.String id) |
void |
setJMSPriority(int priority) |
void |
setJMSRedelivered(boolean redelivered) |
void |
setJMSReplyTo(Destination replyTo) |
void |
setJMSTimestamp(long timestamp) |
void |
setJMSType(java.lang.String type) |
void |
setLongProperty(java.lang.String name,
long value) |
void |
setObjectProperty(java.lang.String name,
java.lang.Object value) |
void |
setShortProperty(java.lang.String name,
short value) |
void |
setStringProperty(java.lang.String name,
java.lang.String value) |
Message |
unwrap() |
public long getJMSDeliveryTime() throws JMSException
JMSException
public void setJMSDeliveryTime(long deliveryTime) throws JMSException
JMSException
public <T> T getBody(java.lang.Class<T> c) throws JMSException
JMSException
public boolean isBodyAssignableTo(java.lang.Class c) throws JMSException
JMSException
public java.lang.String getJMSMessageID() throws JMSException
JMSException
public void setJMSMessageID(java.lang.String id) throws JMSException
JMSException
public long getJMSTimestamp() throws JMSException
JMSException
public void setJMSTimestamp(long timestamp) throws JMSException
JMSException
public byte[] getJMSCorrelationIDAsBytes() throws JMSException
JMSException
public void setJMSCorrelationIDAsBytes(byte[] correlationID) throws JMSException
JMSException
public void setJMSCorrelationID(java.lang.String correlationID) throws JMSException
JMSException
public java.lang.String getJMSCorrelationID() throws JMSException
JMSException
public Destination getJMSReplyTo() throws JMSException
JMSException
public void setJMSReplyTo(Destination replyTo) throws JMSException
JMSException
public Destination getJMSDestination() throws JMSException
JMSException
public void setJMSDestination(Destination destination) throws JMSException
JMSException
public int getJMSDeliveryMode() throws JMSException
JMSException
public void setJMSDeliveryMode(int deliveryMode) throws JMSException
JMSException
public boolean getJMSRedelivered() throws JMSException
JMSException
public void setJMSRedelivered(boolean redelivered) throws JMSException
JMSException
public java.lang.String getJMSType() throws JMSException
JMSException
public void setJMSType(java.lang.String type) throws JMSException
JMSException
public long getJMSExpiration() throws JMSException
JMSException
public void setJMSExpiration(long expiration) throws JMSException
JMSException
public int getJMSPriority() throws JMSException
JMSException
public void setJMSPriority(int priority) throws JMSException
JMSException
public void clearProperties() throws JMSException
JMSException
public boolean propertyExists(java.lang.String name) throws JMSException
JMSException
public boolean getBooleanProperty(java.lang.String name) throws JMSException
JMSException
public byte getByteProperty(java.lang.String name) throws JMSException
JMSException
public short getShortProperty(java.lang.String name) throws JMSException
JMSException
public int getIntProperty(java.lang.String name) throws JMSException
JMSException
public long getLongProperty(java.lang.String name) throws JMSException
JMSException
public float getFloatProperty(java.lang.String name) throws JMSException
JMSException
public double getDoubleProperty(java.lang.String name) throws JMSException
JMSException
public java.lang.String getStringProperty(java.lang.String name) throws JMSException
JMSException
public java.lang.Object getObjectProperty(java.lang.String name) throws JMSException
JMSException
public java.util.Enumeration getPropertyNames() throws JMSException
JMSException
public void setBooleanProperty(java.lang.String name, boolean value) throws JMSException
JMSException
public void setByteProperty(java.lang.String name, byte value) throws JMSException
JMSException
public void setShortProperty(java.lang.String name, short value) throws JMSException
JMSException
public void setIntProperty(java.lang.String name, int value) throws JMSException
JMSException
public void setLongProperty(java.lang.String name, long value) throws JMSException
JMSException
public void setFloatProperty(java.lang.String name, float value) throws JMSException
JMSException
public void setDoubleProperty(java.lang.String name, double value) throws JMSException
JMSException
public void setStringProperty(java.lang.String name, java.lang.String value) throws JMSException
JMSException
public void setObjectProperty(java.lang.String name, java.lang.Object value) throws JMSException
JMSException
public void acknowledge() throws JMSException
JMSException
public void clearBody() throws JMSException
JMSException
public Message unwrap()