![[UNIX, Linux, Windows, IBM i]](../../ngmulti.gif)
dspamqp (display AMQP server properties)
Display AMQP server properties.
Purpose
Use the dspamqp command to display the configured AMQP server properties. The
command allows you to display the properties that are configured in the following properties files:
- amqptraceOn.properties
- amqptraceOff.properties
- amqp_java.properties
- amqp_unix.properties
Syntax
Required parameters
- -m QMgrName
- The queue manager you are displaying AMQP server 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 setamqp command).
- -l
- Enable verbose logging. Diagnostic information is written to a log file.
Return codes
Return code | Description |
---|---|
0 | Command successful |
>0 | Command not successful |
Examples
The following command displays the configured AMQP server properties for the queue manager QM1,
formatting the output in name/value pairs:
dspamqp -m QM1 -o text
The following command displays the configured AMQP server properties for the queue manager QM1,
formatting the output as input for the setamqp
command:
dspamqp -m QM1 -o cmd