Friday, 15 May 2015

RabbitMQ: Route based on Header + Routing Key -



RabbitMQ: Route based on Header + Routing Key -

is there way bind queue exchange combination of routing key plus header value(s)?

thanks

no, not possible mix routing logic, @ to the lowest degree 1 exchange (see explanation , workaround below).

each exchange type has own routing mechanism, headers , topic exchanges (as others) logic can't mixed.

if sure need @ same time routing key , headers routing, can seek play exchange exchange binding (here explanation how works: exchange exchange bindings in rabbitmq blog).

p.s.: improve if explain problem trying solve, while looks complicate things (behavior you've asked not common).

rabbitmq

No comments:

Post a Comment