Clients -
rabbitmq :
Message
Provides the functionality to manipulate the messages received by the consumer services.
Remote Methods
| basicAck | Acknowledge one or several received messages. |
| basicNack | Reject one or several received messages. |
Methods
Retrieves the delivery tag of the message.
Retrieves the properties of the message (i.e., routing headers etc.).
Retrieves the text content of the RabbitMQ message.
Retrieves the float content of the RabbitMQ message.
Retrieves the int content of the RabbitMQ message.
Retrieves the byte array content of the RabbitMQ message.
Retrieves the json content of the RabbitMQ message.
Retrieves the xml content of the RabbitMQ message.
Acknowledge one or several received messages.
Parameters
- multiple boolean (default false)
-
trueto acknowledge all messages up to and including the message called on,falseto acknowledge just the message called on.
-
Return Type
(Error?) An error if an I/O error is encountered or nil if successful.
Reject one or several received messages.
Parameters
- multiple boolean (default false)
-
trueto reject all messages up to and including the message called on;falseto reject just the message called on.
- requeue boolean (default true)
-
trueif the rejected message(s) should be re-queued rather than discarded/dead-lettered.
-
Return Type
(Error?) An error if an I/O error is encountered or nil if successful.
Retrieves the delivery tag of the message.
-
Return Type
(int) int containing the delivery tag of the message.
Retrieves the properties of the message (i.e., routing headers etc.).
-
Return Type
(BasicProperties | Error) Properties of the message or error if an error is encountered.
Retrieves the text content of the RabbitMQ message.
-
Return Type
(string | Error) string containing message data or error if an error is encountered.
Retrieves the float content of the RabbitMQ message.
-
Return Type
(float | Error) float containing message data or error if an error is encountered.
Retrieves the int content of the RabbitMQ message.
-
Return Type
(int | Error) int containing message data or error if an error is encountered.
Retrieves the byte array content of the RabbitMQ message.
-
Return Type
(byte[]) byte array containing message data or error if an error is encountered.
Retrieves the json content of the RabbitMQ message.
-
Return Type
(json | Error) json containing message data or error if an error is encountered.