new ObjectMessage()
This method is not meant to be used directly.
Creates an ObjectMessage object that is used to send a message that
contains an object as its payload. Contained objects must have a
corresponding Java object on the JMS Extender, and their class
fully-qualified name must be specified.
Extends
Method Summary
- getClassFQN
- Returns the fully-qualified class name of the object that will be sent as the payload of this message.
- getObject
- Returns the object that will be sent as the payload of this message.
- setClassFQN
- Sets the fully-qualified class name of the object that must be sent as the payload of this message.
- setObject
- Sets the object that must be sent as the payload of this message.
Inherited Methods
|
acknowledge |
clearBody |
clearProperties |
getJMSCorrelationID |
getJMSDeliveryMode |
getJMSDestination |
getJMSExpiration |
getJMSMessageID |
getJMSPriority |
getJMSRedelivered |
getJMSReplyTo |
getJMSTimestamp |
getJMSType |
getObjectProperty |
setJMSCorrelationID |
setJMSDeliveryMode |
setJMSDestination |
setJMSExpiration |
setJMSMessageID |
setJMSPriority |
setJMSRedelivered |
setJMSReplyTo |
setJMSTimestamp |
setJMSType |
setObjectProperty |
Method Detail
-
getClassFQN() → {String}
-
Returns the fully-qualified class name of the object that will be sent as the payload of this message.
Returns:
- Type
- String
-
getObject() → {Object}
-
Returns the object that will be sent as the payload of this message.
Returns:
- Type
- Object
-
setClassFQN(classFQN)
-
Sets the fully-qualified class name of the object that must be sent as the payload of this message.
Parameters:
Name Type Description classFQN
String fully-qualified class name of the object to be sent as payload. -
setObject(object)
-
Sets the object that must be sent as the payload of this message.
The fully-qualified class name of the object must be specified using the ObjectMessage#setClassFQN method.Parameters:
Name Type Description object
Object object to be sent as payload.