BMW M6 & 172 Phase 1
Ok, brief description of the problem... I need to route messages to different queues dependant on what environment is specified in a database. The queue and connection information is also to be held in the database so it can be easily updated and changed.
I have a number of JmsTemplates set up in an xml file. I would ideally like to set the connectionFactory and Destination configuration at runtime based on these values pulled from the database. Sounds easy, but so far I'm stuck on how to do this.
I have a number of JmsTemplates set up in an xml file. I would ideally like to set the connectionFactory and Destination configuration at runtime based on these values pulled from the database. Sounds easy, but so far I'm stuck on how to do this.