Configure your broker and execution groups to use the broker-wide
listener for HTTP or SOAP nodes
in one or more execution groups.
You can change the configuration for execution groups so
that HTTP
or SOAP nodes use the
broker-wide listener. HTTP nodes use the broker-wide listener by default,
but you might have configured some execution groups to use the embedded
listener, and now want to switch back to using the broker-wide listener.
The commands shown in the examples here are
split across multiple lines for ease of reading; when you enter the
command, you must use a single line.
- Check that the broker is running.
- If you disabled the broker-wide listener, run the mqsichangeproperties command
to restart it. For example:
mqsichangeproperties MB8BROKER -b httplistener -o HTTPListener
-n startListener -v true
- To switch to using the broker-wide listener for a specific
execution group, use the mqsichangeproperties command or the WebSphere® Message Broker Explorer to
change the execution group configuration.
- To use the mqsichangeproperties command,
adapt one of the following examples:
mqsichangeproperties MB8BROKER -e exgroup1 -o ExecutionGroup
-n httpNodesUseEmbeddedListener -v false
mqsichangeproperties MB8BROKER -e exgroup1 -o ExecutionGroup
-n soapNodesUseEmbeddedListener -v false
MB8BROKER is the name of
your broker; exgroup1 is the name of your execution
group.If you want to change the status for all
execution groups, you can omit the specific execution group name:
mqsichangeproperties MB8BROKER -o ExecutionGroup
-n httpNodesUseEmbeddedListener -v false
This command
does not change the status of the listener for SOAP messages processed
by SOAP nodes; only messages to and from HTTP nodes are affected.
- To use the WebSphere Message Broker Explorer, complete the following steps:
- In the Navigator view, expand the broker and right-click the execution
group with which you want to work
- Select Properties
- On the Extended tab, clear the SOAP
Nodes Use Embedded Listener check box or the HTTP
Nodes Use Embedded Listener check box, as required.
If you are working with a broker at a version
that does not support broker-wide listeners for SOAP nodes, there
is no check box for the SOAP Nodes Use Embedded Listener property.
If you are working with a broker at a version that does not support
embedded listeners for HTTP nodes, there is no check box for the HTTP
Nodes Use Embedded Listener property. In both of these
cases, you see the following message: Unsupported property
for this Execution Group.
- Stop and restart the broker to ensure that your changes
take effect.
For more information about this command,
and examples of changing other properties associated with a broker
or execution group, see the description of the mqsichangeproperties command.