I have a Java application deployed on JBoss which is hosted on Openshift. Now for every new MQ(Message Queue) I have to create a new MDB and as number of MQs increases then number of MDBs also increases and my standalone.xml is also getting bigger. More the MQs, more it will be difficult to manage to code. How can I optimize the things here ?
As per my understanding, we can connect only one MQ per MDB. Please correct me if my understanding is wrong and also please help me on possible methods to optimize.
Thanks.