SpinGo / op-rabbit

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

Exchange type #145

Closed dantodor closed 6 years ago

dantodor commented 6 years ago

Is there an example somewhere on how to work with various exchange types ? I see in reference.conf that you can declare the exchange name, but not the type. How would you define a topic or a header exchange ? Thanks!

DStranger commented 6 years ago

Hi @dantodor,

op-rabbit provides a DSL for defining exchanges and binding queues to them, examples can be found in the README - this is how you subscribe to a topic.