The Managed File Transfer Level 3 team received an interesting question from a customer last week who had a number of users that used the Managed File Transfer plugin provided by the MQ Explorer to monitor their managed file transfer network. The plugin was configured to use a durable subscription to the SYSTEM.FTE topic on their coordination queue manager in order to collect the information it needed to display. The customer had noticed a number of durable subscriptions to this topic, and wanted to know if there was a way to identify which subscription was owned by which user.
The good news is that it is possible to do this!
The subscription name used by the Managed File Transfer plugin always has the following format:
hostname - (UUID)
where hostname is the name of the system where the MQ Explorer that created the subscription is running, and UUID is a identifier which is unique to that user and MQ Explorer instance.
The Managed File Transfer plugin persists the name of the durable subscription it is using in a file called dialog_settings.xml, which can be found in the following directory:
- Windows: <User home>\IBM\WebSphereMQ\workspace-<installationname>\.metadata\.plugins\com.ibm.wmqfte.explorer\
- Linux: $HOME/IBM/WebSphereMQ/workspace-<installationname>/.metadata/.plugins/com.ibm.wmqfte.explorer
Inside this file, look for the UI_SETTINGS_SUBSCRIPTIONS and you should see the subscription name. Here is an example, taken from my test system here in Hursley.
Note that if a user uses the MQ Explorer to monitor multiple managed file transfer networks, then the same durable subscription name is used for each of the durable subscriptions that are created. For example, on my test system in Hursley I use the Managed File Transfer plugin to manage two Managed File Transfer networks. The name of the coordination queue managers for the networks are paultFTEQM and paultMFTQM respectively.
Here are the durable subscriptions that have been created for paultFTEQM:
and here are the durable subcriptions for the queue manager paultMFTQM:
Note that they both contain durable subscriptions to the SYSTEM.FTE topic that have the name:
wistful - a4d178fe-58ff-430b-bae5-5a944917f537
This indicates that both durable subscriptions are being used by the same user, who is using the Managed File Transfer plugin on a system with the hostname wistful.