[MQ 9.4.2 Feb 2025][UNIX, Linux, Windows, IBM i]

dspmqxr (display MQTT server properties)

Use the dspmqxr command to display the configured MQTT server properties.

The command allows you to display the properties that are configured in the following properties files:
  • mqxrtraceOff.properties
  • mqxrtraceOn.properties
  • java.properties
  • mqxr_unix.properties
  • mqxr_win.properties

Syntax

Read syntax diagramSkip visual syntax diagram dspmqxr properties  -m QMgrName  -o format-l

Required parameters

-m QMgrName
The queue manager you are viewing MQTT properties for.

Optional parameters

-o format
Specifies the format that the information is output in. One of the following values:
text
Format the output in name/value pairs. This is the default value if the parameter is not specified.
cmd
Format the output as command text (this can then be used as input to the setmqxr command).
-l
Enable verbose logging. Diagnostic information is written to a log file.

Return codes

Table 1. Return code identifiers and descriptions
Return code Description
0 Command successful
>0 Command not successful

Examples

The following command displays the configured MQTT server properties for the queue manager QM1, formatting the output in name/value pairs:
dspmqxr -m QM1 -o text 
The following command displays the configured MQTT server properties for the queue manager QM1, formatting the output as input for the setmqxr command:
dspmqxr -m QM1 -o cmd