AMQP Eventbus with a Direct exchange

I’m trying out AMQP eventbus with the following config that was posted in one of the other threads.

It works quite well (with minor changes). I tried changing it to a Direct exchange and messages are no longer delivered to the event handlers. Also tried explicitly defining a routing key on the binding - but I guess the routing key from the message does not match. So my question is that how do I set the routing key on outbound messages?


Never mind - found it out. Had to configure a RoutingKeyResolver on the Axon Terminal instance and now it works.