STOP CHANNEL (MQTT)

Use the MQSC command STOP CHANNEL to stop an MQ Telemetry channel.


Use MQSC commands

For information on how we use MQSC commands, see Performing local administration tasks using MQSC commands.

The STOP CHANNEL (MQTT) command is only valid for MQ Telemetry channels.

Synonym: STOP CHL


STOP CHANNEL

STOP CHANNEL ( channel-name ) CHLTYPE ( MQTT ) CLIENTID(clientid)


Usage notes for STOP CHANNEL

  1. Any channels in STOPPED state need to be started manually; they are not started automatically.


Parameter descriptions for STOP CHANNEL

    (channel-name)
    The name of the channel to be stopped. This parameter is required for all channel types including MQTT channels.

    CHLTYPE
    Channel type. Tthe value must be MQTT.

    CLIENTID (string)
    Client identifier. The client identifier is a 23-byte string that identifies an MQ Telemetry Transport client. When the STOP CHANNEL command specifies a CLIENTID, only the connection for the specified client identifier is stopped. If the CLIENTID is not specified, all the connections on the channel are stopped.

Parent topic: MQSC commands