Hello all, first post! I wanted to understand if it is possible to use Reitit routing in other contexts aside from http-routing, in particular I am thinking of the domain of message routing similar to how https://vertx.io/docs/vertx-core/java/#event_bus. I discovered an older project https://github.com/nijohando/event that has the beginnings of such work, but I am unsure as to how aligned it is with reitit router conventions. Specifically, I am interested in the idea of hierarchal routing of event-buses so that actor-like constructs can be attached to a parent and routing occurs via the standard nature of reitit. It would just be the dispatch handling of the event and queuing (if required) that would be implementation specific. Do you have any knowledge of prior art in this domain, or ideas if this is possible/feasible. Ultimately, I am just looking for guidance if this is possible or even a good idea before I embark of starting a greenfield project. Thanks in advance!
It sounds to me like path-based routing can do what you need: https://cljdoc.org/d/metosin/reitit/0.7.2/doc/basics/path-based-routing