jmsDest, logger, momMsg, propertiesRO, RObody, session
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
Constructor and Description |
---|
AdminMessage()
Instantiates a bright new
AdminMessage . |
AdminMessage(Session session,
Message momMsg)
Instantiates an
AdminMessage wrapping a
consumed MOM message containing a Admin message. |
Modifier and Type | Method and Description |
---|---|
AbstractAdminMessage |
getAdminMessage()
get the AbstractAdminMessage body of the message.
|
void |
setAdminMessage(AbstractAdminMessage adminMsg)
Sets an AbstractAdminMessage as the body of the message.
|
acknowledge, clearBody, clearProperties, convertJMSMessage, getBody, getBooleanProperty, getByteProperty, getCompressedMinSize, getCompressionLevel, getDoubleProperty, getEffectiveBody, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getMomMsg, getObjectProperty, getProperties, getPropertyNames, getShortProperty, getStringProperty, isBodyAssignableTo, isCompressed, prepare, prepareJMSMessage, propertyExists, resetPropertiesRO, setBooleanProperty, setByteProperty, setCompressedMinSize, setCompressionLevel, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, toString, toString, wrapMomMessage
public void setAdminMessage(AbstractAdminMessage adminMsg) throws MessageNotWriteableException, MessageFormatException
adminMsg
- admin messageMessageNotWriteableException
MessageFormatException
public AbstractAdminMessage getAdminMessage() throws MessageFormatException
MessageFormatException
Copyright © 2021 ScalAgent D.T.. All rights reserved.