Clients -
artemis :
Message
Represents ActiveMQ Artemis Message.
Constructor
__init
(Session session, MessageContent data, MessageConfiguration? config)
Remote Methods
Methods
Returns the size (in bytes) of this message's body.
Add message property.
Get a message property.
The type of the message.
The message payload.
Call this function to save to a WritableByteChannel if the message is STREAM
type.
Get the message configuration.
Acknowledges reception of this message.
-
Return Type
(error?) If an error occurred while acknowledging the message
Returns the size (in bytes) of this message's body.
-
Return Type
(int) the size of the message body
Add message property.
Get a message property.
Parameters
- key string
-
The name of the property
The type of the message.
-
Return Type
(MessageType) The
MessageType
of the message
The message payload.
Call this function to save to a WritableByteChannel if the message is STREAM
type.
Parameters
- ch WritableByteChannel
-
The byte channel to save to
-
Return Type
(error?) will return an
error
if the message is not of typeSTREAM
or on failure
Get the message configuration.
-
Return Type
(MessageConfiguration) the
MessageConfiguration
of this message