SpinGo / op-rabbit

The Opinionated RabbitMQ Library for Scala and Akka
Other
232 stars 73 forks source link

Direct queue properties #181

Open davidmr opened 4 years ago

davidmr commented 4 years ago

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?