amqp-client icon indicating copy to clipboard operation
amqp-client copied to clipboard

Exchange to Exchange Binding

Open SayreBladesWW opened this issue 10 years ago • 1 comments

We have a requirement to create exchange/exchange bindings: https://www.rabbitmq.com/e2e.html

It doesnt seem this is possible at the moment using this library. Could you please provide some direction?

SayreBladesWW avatar Sep 14 '15 17:09 SayreBladesWW

Hello, It is not supported yet, but should be fairly easy to add. I'm travelling right now but should be able to implement this tomorrow or wednesday. If you want to give it a try, just copy how QueueBind is implemented: add an ExchangeBind message in Amqp.scala (something like case class ExchangeBind(destination: String, source: String, routing_key: String, args: Map[String, AnyRef] = Map.empty) extends Request) and handle it in ChannelOwner.scala. And don't forget to add a test to ChannelOwnerSpec.scala :)

sstone avatar Sep 14 '15 19:09 sstone