Purge a queue, removing all messages from it.
Purge a queue, removing all messages from it.
WARNING: It will delete ALL messages from a Queue.
The queue to be purged.
Create a new queue, with default parameters, with the given name.
This will delete previously reserved messages.
This will delete previously reserved messages.
The queue to delete messages from.
The reservations to be used to delete messages. They should not be already expired.
Delete the queue with the given name.
List the available queues.
List the available queues.
It support pagination by providing the last queue name and number of desired results. It can also filter by queue name prefix.
It will fetch a number of messages without reserving or deleting them.
It will fetch a number of messages without reserving or deleting them. It is mainly ussed to monitor or inspect a queue.
The name of the queue to fetch the messages from.
The maximum number of the messages to fetch.
Consume a number of messages from the given queue.
Consume a number of messages from the given queue.
The messages will not be available anymore to any other consumer. They are deleted immediately after being fetched.
The name of the queue to consume from.
The maximum number of messages to consume (It will return a number of messages up to this number)
The amount of time the consumer will wait for more messages to be consumed.
Produce the given messages to the queue with the given name.
Produce the given messages to the queue with the given name. Return the ids ot the produced messages.
This will release a previously reserved message.
This will release a previously reserved message.
The queue to relesse messages from.
The reservations to be used to release messages. It should not be already expired.
How much time before the message will be available to other consumers.
Reserve a number of messages from the given queue.
Reserve a number of messages from the given queue.
When a message has been reserved, it is not available to other consumer for the time specified by the timeout argument.
The name of the queue to reserve from.
The maximum number of messages to reserve (It will return a number of messages up to this number)
The reservation timeout. After this time the reserved message is put back in the queue.
The amount of time the consumer will wait for more messages to be reserved.
This will renew a nearly expired reservation.
This will renew a nearly expired reservation. It is used to extend the reservation period.
The name of the queue to renew the reservation from.
The Reservation to be renewed.
The new reservation timeout.
An IronMq client based on Akka-http.
This client provide a subset of the operation you can do by the IronMQ protocol. It is not intended to be used by the final user but as internal API. Still it could be used to create/list/delete queues if needed.