3.4.2.10 Message: ChannelStatusChange

Topic Version1Published10/31/2016
For StandardETP v1.1

Sent from producer to consumer when the status of a channel (as defined in the status field of the ChannelMetadatarecord) has changed. Only sent if the receiveChangeNotification field in ChannelStreaming record used to start this channel is set to True.

Message Type ID: 10

Correlation Id Usage: n/a

Multi-part: False

Sent by: producer

Attribute

Description

Data Type

Min

Max

channelId

The channelId of the channel whose status has changed.

long

1

1

status

The new status of the channel.

ChannelStatuses

1

1

Avro Source

{

      "type": "record",

      "namespace": "Energistics.Protocol.ChannelStreaming",

      "name": "ChannelStatusChange",

      "messageType": "10",

      "protocol": "1",

      "senderRole": "producer",

      "protocolRoles": "producer,consumer",

      "fields":

     [

         { "name": "channelId", "type": "long" },

         { "name": "status", "type": "Energistics.Datatypes.ChannelData.ChannelStatuses" }

     ]

}