I'm currently struggling with the Websphere Resource Adapter for MQ JMS on the JBoss AS 7.1. The adapter itself works great, but I should be able to set some properties dynamically. For example hostName etc.
Currently I have to set the hostName, port etc. for the mq-connection "hard-coded" with a property-file.
For example: mq.hostname = localhost:1421.
Now my question. Is it possible to set this via coding? The problem is that I can't edit the MQ Adapter from IBM because of the copyright and the non-available source-files.
My first idea was, to add a second resource adapter which gets called first and which sets the property of the IBM MQ adapter. Is that possible?