I have this project using op-rabbit and I'm trying to send a message directly to a queue but the queue doesn't exist yet.
I'm using rabbitControl ! Message.queue(message, queue = "the_queue") to publish messages but I can't find a way to 1) declare the queue and have it created automatically and 2) use additional parameters such as ttl.
Is it possible to achieve that or do I have to manually create the queue with such properties?
I have this project using
op-rabbit
and I'm trying to send a message directly to a queue but the queue doesn't exist yet.I'm using
rabbitControl ! Message.queue(message, queue = "the_queue")
to publish messages but I can't find a way to 1) declare the queue and have it created automatically and 2) use additional parameters such asttl
.Is it possible to achieve that or do I have to manually create the queue with such properties?