Administrating WebSphere MQ with your browser.
The second part of the URI must be
channel to call the ChannelController.
This controller can be used to get information from a channel.
Get information about one or more queues. This action executes the
MQCMD_INQUIRE_CHANNEL pcf command.
On success, the returned JSON object will have a
data array, on failure an
The name of the queuemanager. This parameter is required!
The name of a channel. Generic names are supported. When this parameter is used, query parameters are ignored. This parameter is optional.
The type of the channel. ChannelType must be
Cluster-sender. This value is case-sensitive.
With the ChannelAttrs parameter you can specify which attributes must be returned from the PCF command. Multiple occurences of this parameter are possible. The value must be a (case-sensitive) valid attribute name.
Attrs is a synonym for ChannelAttrs
The name of a channel. Generic names are supported. This parameter is ignored
when a channelname is passed as URL parameter. When
this parameter is omitted, * will be used.
name is a synonym for this
ChannelType must be
Cluster-sender. This value is case-sensitive. When channel type is passed as
URL parameter, this query parameter is ignored.
Specifies how the command is executed when the queue manager is a member of a queue-sharing group. This parameter applies to z/OS only.
This parameter is not allowed for Client-connection channels and only applies
to z/OS. Possible values are
Shared. It Specifies the
disposition of the channels for which information is to be returned.
When value is
true, all channels with a name starting with SYSTEM. will be
discarded. This parameter is optional. By default the value is set to
Speficies which filter to use:
I means Integerfilter,
S means Stringfilter.
FilterParam and FilterValue are required to create the filter. When a
filter can’t be build because of too little information, it will be silently
The operator that is being used to evaluate whether the parameter satisfies the filter-value.
The default is
The following values are allowed:
GT: Greater than
LT: Less than
EQ: Equal to
NE: Not equal to
NLT: Not less than
NGT: Not greater than
LE: Less than or equal to
GE: Greater than or equal to
A Stringfilter can use some additional operators:
LK: Matches a generic string
NL: Does not match a generic string
CTG: Contains an item which matches a generic string
EXG: Does not contain any item which matches a generic string.
The name of the parameter to filter on. The names are based on the names used in the WebSphere MQ information center.
The value to use for filtering. When a string is passed for an Integerfilter, a WebSphere MQ constant is assumed.
Disposition of the object within the group. Possible values are
All. This parameter applies to z/OS only.
When using an application/json POST request you can post a JSON object with names like the query parameters.
All URL parameters and query parameters are ignored except for the URL parameter for the name of the queuemanager.
There are some differences between query parameters and a JSON object:
- JSON property names are case-sensitive
- ChannelName is a mandatory property. No default values is used.
- ChannelAttrs is a JSON array with attributenames as element.
- A filter is an object: IntegerFilterCommand can be used to filter on parameters which has integer values, while StringFilterCommand can be used to filter on parameters with string values. The filter object has these three properties: Parameter (see FilterParam), Operator (see FilterOp) and FilterValue (see FilterValue).
An IntegerFilterCommand can’t be used together with a StringFilterCommand
This sample is a Perl script that inquires all channels starting with
and only returns the channelname and connectionname (if available):