Welcome in Ecotone Framework Chat.
If you have questions in relation to the framework, feel free to ask :)
Documentation: https://docs.ecotone.tech
Example Project: https://github.com/ecotoneframework/php-ddd-cqrs-event-sourcing-ecotone
Hey Piotr,
Router is not Query Handler, so you won't be able to call it directly from QueryBus.
However you may use Gateway (https://docs.ecotone.tech/messaging/messaging-concepts/messaging-gateway) as your entrypoint,
or you can call QueryHandler that will delegate the work to the Router.
I've prepared runnable demo, have fun :)
https://github.com/dgafka/query-bus-router