Package de.caluga.morphium.messaging.jms
Class JMSMessage
java.lang.Object
de.caluga.morphium.messaging.Msg
de.caluga.morphium.messaging.jms.JMSMessage
- All Implemented Interfaces:
javax.jms.Message
- Direct Known Subclasses:
JMSBytesMessage,JMSMapMessage,JMSObjectMessage,JMSTextMessage
-
Nested Class Summary
Nested classes/interfaces inherited from class de.caluga.morphium.messaging.Msg
Msg.Fields -
Field Summary
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_DELAY, DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoid<T> TbooleangetBooleanProperty(String name) bytegetByteProperty(String name) doublegetDoubleProperty(String name) floatgetFloatProperty(String name) intgetIntProperty(String name) byte[]intlongjavax.jms.Destinationlongintbooleanjavax.jms.DestinationlonglonggetLongProperty(String name) getObjectProperty(String name) shortgetShortProperty(String name) getStringProperty(String name) booleanbooleanpropertyExists(String name) voidsetBooleanProperty(String name, boolean value) voidsetByteProperty(String name, byte value) voidsetDoubleProperty(String name, double value) voidsetFloatProperty(String name, float value) voidsetIntProperty(String name, int value) voidsetJMSCorrelationID(String correlationID) voidsetJMSCorrelationIDAsBytes(byte[] correlationID) voidsetJMSDeliveryMode(int deliveryMode) voidsetJMSDeliveryTime(long deliveryTime) voidsetJMSDestination(javax.jms.Destination destination) voidsetJMSExpiration(long expiration) voidvoidsetJMSPriority(int priority) voidsetJMSRedelivered(boolean redelivered) voidsetJMSReplyTo(javax.jms.Destination replyTo) voidsetJMSTimestamp(long timestamp) voidsetJMSType(String type) voidsetLongProperty(String name, long value) voidsetObjectProperty(String name, Object value) voidsetShortProperty(String name, short value) voidsetStringProperty(String name, String value) Methods inherited from class de.caluga.morphium.messaging.Msg
addAdditional, addProcessedId, addRecipient, addValue, createAnswerMsg, equals, getAdditional, getDeleteAt, getInAnswerTo, getLocked, getLockedBy, getMapValue, getMsg, getMsgId, getName, getPriority, getProcessedBy, getRecipients, getSender, getSenderHost, getTimestamp, getTo, getTtl, getValue, hashCode, isAnswer, isExclusive, preStore, removeAdditional, removeRecipient, removeValue, sendAnswer, setAdditional, setDeleteAt, setExclusive, setInAnswerTo, setLocked, setLockedBy, setMapValue, setMsg, setMsgId, setName, setPriority, setProcessedBy, setRecipient, setRecipients, setSender, setSenderHost, setTimestamp, setTo, setTtl, setValue, toString
-
Constructor Details
-
JMSMessage
public JMSMessage()
-
-
Method Details
-
getJMSMessageID
- Specified by:
getJMSMessageIDin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSMessageID
- Specified by:
setJMSMessageIDin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSTimestamp
public long getJMSTimestamp() throws javax.jms.JMSException- Specified by:
getJMSTimestampin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSTimestamp
public void setJMSTimestamp(long timestamp) throws javax.jms.JMSException - Specified by:
setJMSTimestampin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSCorrelationIDAsBytes
public byte[] getJMSCorrelationIDAsBytes() throws javax.jms.JMSException- Specified by:
getJMSCorrelationIDAsBytesin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSCorrelationIDAsBytes
public void setJMSCorrelationIDAsBytes(byte[] correlationID) throws javax.jms.JMSException - Specified by:
setJMSCorrelationIDAsBytesin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSCorrelationID
- Specified by:
getJMSCorrelationIDin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSCorrelationID
- Specified by:
setJMSCorrelationIDin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSReplyTo
public javax.jms.Destination getJMSReplyTo() throws javax.jms.JMSException- Specified by:
getJMSReplyToin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSReplyTo
public void setJMSReplyTo(javax.jms.Destination replyTo) throws javax.jms.JMSException - Specified by:
setJMSReplyToin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSDestination
public javax.jms.Destination getJMSDestination() throws javax.jms.JMSException- Specified by:
getJMSDestinationin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSDestination
public void setJMSDestination(javax.jms.Destination destination) throws javax.jms.JMSException - Specified by:
setJMSDestinationin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSDeliveryMode
public int getJMSDeliveryMode() throws javax.jms.JMSException- Specified by:
getJMSDeliveryModein interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSDeliveryMode
public void setJMSDeliveryMode(int deliveryMode) throws javax.jms.JMSException - Specified by:
setJMSDeliveryModein interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSRedelivered
public boolean getJMSRedelivered() throws javax.jms.JMSException- Specified by:
getJMSRedeliveredin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSRedelivered
public void setJMSRedelivered(boolean redelivered) throws javax.jms.JMSException - Specified by:
setJMSRedeliveredin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSType
- Specified by:
getJMSTypein interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSType
- Specified by:
setJMSTypein interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSExpiration
public long getJMSExpiration() throws javax.jms.JMSException- Specified by:
getJMSExpirationin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSExpiration
public void setJMSExpiration(long expiration) throws javax.jms.JMSException - Specified by:
setJMSExpirationin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSDeliveryTime
public long getJMSDeliveryTime() throws javax.jms.JMSException- Specified by:
getJMSDeliveryTimein interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSDeliveryTime
public void setJMSDeliveryTime(long deliveryTime) throws javax.jms.JMSException - Specified by:
setJMSDeliveryTimein interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getJMSPriority
public int getJMSPriority() throws javax.jms.JMSException- Specified by:
getJMSPriorityin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setJMSPriority
public void setJMSPriority(int priority) throws javax.jms.JMSException - Specified by:
setJMSPriorityin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
clearProperties
public void clearProperties() throws javax.jms.JMSException- Specified by:
clearPropertiesin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
propertyExists
- Specified by:
propertyExistsin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getBooleanProperty
- Specified by:
getBooleanPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getByteProperty
- Specified by:
getBytePropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getShortProperty
- Specified by:
getShortPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getIntProperty
- Specified by:
getIntPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getLongProperty
- Specified by:
getLongPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getFloatProperty
- Specified by:
getFloatPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getDoubleProperty
- Specified by:
getDoublePropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getStringProperty
- Specified by:
getStringPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getObjectProperty
- Specified by:
getObjectPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getPropertyNames
- Specified by:
getPropertyNamesin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setBooleanProperty
- Specified by:
setBooleanPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setByteProperty
- Specified by:
setBytePropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setShortProperty
- Specified by:
setShortPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setIntProperty
- Specified by:
setIntPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setLongProperty
- Specified by:
setLongPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setFloatProperty
- Specified by:
setFloatPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setDoubleProperty
- Specified by:
setDoublePropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setStringProperty
- Specified by:
setStringPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
setObjectProperty
- Specified by:
setObjectPropertyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
acknowledge
public void acknowledge() throws javax.jms.JMSException- Specified by:
acknowledgein interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
clearBody
public void clearBody() throws javax.jms.JMSException- Specified by:
clearBodyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
getBody
- Specified by:
getBodyin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-
isBodyAssignableTo
- Specified by:
isBodyAssignableToin interfacejavax.jms.Message- Throws:
javax.jms.JMSException
-