public class MockObjectMessage extends Object implements javax.jms.ObjectMessage
Constructor and Description |
---|
MockObjectMessage() |
public MockObjectMessage()
public Serializable getObject() throws javax.jms.JMSException
getObject
in interface javax.jms.ObjectMessage
javax.jms.JMSException
public void setObject(Serializable object) throws javax.jms.JMSException
setObject
in interface javax.jms.ObjectMessage
javax.jms.JMSException
public void acknowledge() throws javax.jms.JMSException
acknowledge
in interface javax.jms.Message
javax.jms.JMSException
public void clearBody() throws javax.jms.JMSException
clearBody
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 boolean getBooleanProperty(String arg0) throws javax.jms.JMSException
getBooleanProperty
in interface javax.jms.Message
javax.jms.JMSException
public byte getByteProperty(String arg0) throws javax.jms.JMSException
getByteProperty
in interface javax.jms.Message
javax.jms.JMSException
public double getDoubleProperty(String arg0) throws javax.jms.JMSException
getDoubleProperty
in interface javax.jms.Message
javax.jms.JMSException
public float getFloatProperty(String arg0) throws javax.jms.JMSException
getFloatProperty
in interface javax.jms.Message
javax.jms.JMSException
public int getIntProperty(String arg0) throws javax.jms.JMSException
getIntProperty
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 byte[] getJMSCorrelationIDAsBytes() throws javax.jms.JMSException
getJMSCorrelationIDAsBytes
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 javax.jms.Destination getJMSDestination() throws javax.jms.JMSException
getJMSDestination
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 String getJMSMessageID() throws javax.jms.JMSException
getJMSMessageID
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 boolean getJMSRedelivered() throws javax.jms.JMSException
getJMSRedelivered
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 long getJMSTimestamp() throws javax.jms.JMSException
getJMSTimestamp
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 long getLongProperty(String arg0) throws javax.jms.JMSException
getLongProperty
in interface javax.jms.Message
javax.jms.JMSException
public Object getObjectProperty(String arg0) 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 short getShortProperty(String arg0) throws javax.jms.JMSException
getShortProperty
in interface javax.jms.Message
javax.jms.JMSException
public String getStringProperty(String arg0) throws javax.jms.JMSException
getStringProperty
in interface javax.jms.Message
javax.jms.JMSException
public boolean propertyExists(String arg0) throws javax.jms.JMSException
propertyExists
in interface javax.jms.Message
javax.jms.JMSException
public void setBooleanProperty(String arg0, boolean arg1) throws javax.jms.JMSException
setBooleanProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setByteProperty(String arg0, byte arg1) throws javax.jms.JMSException
setByteProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setDoubleProperty(String arg0, double arg1) throws javax.jms.JMSException
setDoubleProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setFloatProperty(String arg0, float arg1) throws javax.jms.JMSException
setFloatProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setIntProperty(String arg0, int arg1) throws javax.jms.JMSException
setIntProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSCorrelationID(String arg0) throws javax.jms.JMSException
setJMSCorrelationID
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSCorrelationIDAsBytes(byte[] arg0) throws javax.jms.JMSException
setJMSCorrelationIDAsBytes
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSDeliveryMode(int arg0) throws javax.jms.JMSException
setJMSDeliveryMode
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSDestination(javax.jms.Destination arg0) throws javax.jms.JMSException
setJMSDestination
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSExpiration(long arg0) throws javax.jms.JMSException
setJMSExpiration
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSMessageID(String arg0) throws javax.jms.JMSException
setJMSMessageID
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSPriority(int arg0) throws javax.jms.JMSException
setJMSPriority
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSRedelivered(boolean arg0) throws javax.jms.JMSException
setJMSRedelivered
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSReplyTo(javax.jms.Destination arg0) throws javax.jms.JMSException
setJMSReplyTo
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSTimestamp(long arg0) throws javax.jms.JMSException
setJMSTimestamp
in interface javax.jms.Message
javax.jms.JMSException
public void setJMSType(String arg0) throws javax.jms.JMSException
setJMSType
in interface javax.jms.Message
javax.jms.JMSException
public void setLongProperty(String arg0, long arg1) throws javax.jms.JMSException
setLongProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setObjectProperty(String arg0, Object arg1) throws javax.jms.JMSException
setObjectProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setShortProperty(String arg0, short arg1) throws javax.jms.JMSException
setShortProperty
in interface javax.jms.Message
javax.jms.JMSException
public void setStringProperty(String arg0, String arg1) throws javax.jms.JMSException
setStringProperty
in interface javax.jms.Message
javax.jms.JMSException
Copyright © 2005–2017 QOS.ch. All rights reserved.