I have several servers running the same code but each handling specific messages (they are spread by geographical area and must should treat all messages related to their area)
I thought to use a single queue and a message selector to filter the different message.
The question is: how to write Java code and deployment plan so that the selector is configured dynamically, based on a config file, the config of application server ( Geronimo 2.2)
The goal is to have the same EAR deployed on all servers.
Thank you.