Exchange to exchange routing using header values #7840
-
I am trying to have header exchange to route to two different exchange based on header value. However, I was not able to route based on the header, but only with routingkey. Is there way to route message to other exchange based on header instead of routingkey? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Exchange-to-exchange routing does not imply any particular exchange type. The headers exchange type does not seem to have anything specific to queue bindings, at least at first glance.
Please put together an executable example, I cannot suggest anything else based on the information provided. |
Beta Was this translation helpful? Give feedback.
Exchange-to-exchange routing does not imply any particular exchange type. The headers exchange type does not seem to have anything specific to queue bindings, at least at first glance.
exchange.bind
supports a map of optional arguments just likequeue.bind
does.Please put together an executable example, I cannot suggest anything else based on the information provided.