Object -
jms :
Message
Represent the JMS message used to send and receive content from the a JMS provider.
Most message-oriented middleware (MOM) products treat messages as lightweight entities that consist of a header and a body. The header contains fields used for message routing and identification; the body contains the application data being sent.
Methods
Gets text content of the JMS message
Gets map content of the JMS message
Sets a JMS transport string property from the message
Gets a JMS transport string property from the message
Sets a JMS transport integer property from the message
Gets a JMS transport integer property from the message
Sets a JMS transport boolean property from the message
Gets a JMS transport boolean property from the message
Sets a JMS transport float property from the message
Gets a JMS transport float property from the message
Gets JMS transport header MessageID from the message
Gets JMS transport header Timestamp from the message
Sets DeliveryMode JMS transport header to the message
Get JMS transport header DeliveryMode from the message
Sets Expiration JMS transport header to the message
Gets JMS transport header Expiration from the message
Sets Type JMS transport header to the message
Gets JMS transport header Type from the message
Clears JMS properties of the message
Clears body of the JMS message
Sets priority JMS transport header to the message
Gets JMS transport header Priority from the message
Gets JMS transport header Redelivered from the message
Sets CorrelationID JMS transport header to the message
Gets JMS transport header CorrelationID from the message
Gets JMS replyTo header from the message
Set the replyTo destination from the message
Gets text content of the JMS message
Gets map content of the JMS message
Sets a JMS transport string property from the message
-
Return Type
(error?) Nil or a JMS error
Gets a JMS transport string property from the message
Parameters
- key string
-
The string property name
Sets a JMS transport integer property from the message
-
Return Type
(error?) Nil or a JMS error
Gets a JMS transport integer property from the message
Parameters
- key string
-
The integer property name
Sets a JMS transport boolean property from the message
-
Return Type
(error?) Nil or a JMS error
Gets a JMS transport boolean property from the message
Parameters
- key string
-
The boolean property name
Sets a JMS transport float property from the message
-
Return Type
(error?) Nil or a JMS error
Gets a JMS transport float property from the message
Parameters
- key string
-
The float property name
Gets JMS transport header MessageID from the message
Gets JMS transport header Timestamp from the message
Sets DeliveryMode JMS transport header to the message
Parameters
- mode int
-
The header value
-
Return Type
(error?) nil or a JMS error
Get JMS transport header DeliveryMode from the message
Sets Expiration JMS transport header to the message
Parameters
- time int
-
The expiration time header value
-
Return Type
(error?) nil or a JMS error
Gets JMS transport header Expiration from the message
Sets Type JMS transport header to the message
Parameters
- messageType string
-
The message type header value
-
Return Type
(error?) nil or an JMS error if any JMS provider level internal error occur
Gets JMS transport header Type from the message
Clears JMS properties of the message
-
Return Type
(error?) nil or error if any JMS provider level internal error occur
Sets priority JMS transport header to the message
Parameters
- priority int
-
The priority header value
-
Return Type
(error?) nil or a JMS error
Gets JMS transport header Priority from the message
Gets JMS transport header Redelivered from the message
Sets CorrelationID JMS transport header to the message
Parameters
- correlationId string
-
The correlationId header value
-
Return Type
(error?) nil or a JMS error
Gets JMS transport header CorrelationID from the message
Gets JMS replyTo header from the message
-
Return Type
(Destination | error | ()) The JMS replyTo Destination or JMS error or nil if header is not set
Set the replyTo destination from the message
Parameters
- replyTo Destination
-
replyTo destination.
-
Return Type
(error?) nil or JMS error