To work with XML configuration files you must use the "File" menu. Configuration file may be saved or loaded.
JMQBrowser allows you to save your actual configuration in the form of an XML file, i.e.
You only have to select the "Save configuration" item in the "File" menu and choose a file name in the appearing file chooser.
With the "Load configuration" item in the "File" menu, a previously saved configuration file can be loaded by the help of a file chooser dialog.
JMQBrowser connects to all listed queue managers automatically and opens all the listed queues.
Configuration files are stored in an XML format, they may be edited with a usual text editor.
Below you can see a sample configuration file:
<JMQCONFIG>
<QMGR NAME="testqm1">
<CONNECTION HOST="host1" PORT="1414"
CHANNEL="channel1" USER_ID="user1" PASSWORD="password1"/>
<QUEUE NAME="t1q2"/>
<QUEUE NAME="t1q1"/>
</QMGR>
<QMGR NAME="testqm2">
<CONNECTION HOST="host2" PORT="1414"
CHANNEL="channel2" USER_ID="user2" PASSWORD="password2"/>
<QUEUE NAME="t2q1"/>
<QUEUE NAME="t2q2"/>
</QMGR>
</JMQCONFIG>
JMQBrowser configuration files must always start with <JMQCONFIG>
tag.
Inside this tag there must be a list of the queue managers to connect to (<QMGR
NAME="qm_name">).
Inside the QMGR tag there must be a tag with the connection properties (<CONNECTION
HOST="hostname_or_ip" PORT="1414" CHANNEL="channel_name"
USER_ID="userid" PASSWORD="password"/>) and a
list of tags with the queues to open ( <QUEUE NAME="queue_name"/>).