I have a small project in which tweets from twitter are consumed by an application, put into a JMS queue on an ActiveMQ, read from another application to to enrich each tweet and then returned into another JMS queue on the ActiveMQ server. Currently, all the routing is defined within each application itself. So the routing from twitter into the JMS queue is defined in application A and the routing from one JMS queue into another is defined in application B.
In my opinion this architecture seems to be wrong, since now I cannot change any route without redeploying one of the applications.
What I want is a solution where I have some (micro)services like a twitter adapter and an enricher, which are independent from each other. But where do I put the routing information then? Somehow into ActiveMQ? Is there a way to configure the routes easily? Somehow this sounds like an ESB, doesn´t it?