'MDB listening to a varying amount of IBM MQs
Here is my goal:
I have a Message-Driven Bean (class), which I want to deploy to a JBoss EAP 6 server. The MDB should listen to one or more external queues which I'll connect to using the corresponding JMS resource adaptor. We need to use JMS because we need to have that sweet shared transaction between the queue and the database connections.
The challenge is that we will need to hook the MDB with more queues later on, and we need to be able to do that, without creating a new deployment. So we're limited to changing configurations and restarting the server.
How could this be done?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
