We are trying to build test app on WebSphere App Server which would be able to respect changes in WebSphere MQ Queue Connection factory.
Unfortunately we found that after changing port and QMgr name, saving and replicated changes and even after restart of application, then it get MQConnFact.. reference from InitialContext, it is bound to the same UNCHANGED connection factory object, so it does require Server restart to peek up changes.
Is that normal? From my perspective we don't have to restart server and even don't have to restart app in order to get updated object.
And yes, we close session, connection and messageproducer objects. How to peek up updated reference every time we look it up?