TsgcWSPClient_AMQPProperties › Guid

Guid Property

Unique identifier that binds this subprotocol instance to its WebSocket or broker connection.

Syntax

property Guid: String read FGuid write FGuid;

Default Value

Auto-generated on component creation

Remarks

The Guid is assigned automatically in the constructor and is used internally to route frames between the TsgcWebSocketClient (or TsgcWSAMQPBroker) and the matching AMQP subprotocol instance. It is not an AMQP connection or channel identifier on the wire: AMQP 0-9-1 identifies peers by the connection tuple and channel number negotiated during Channel.Open. Do not modify Guid unless you are explicitly re-parenting the protocol component between connections.

Example


ShowMessage('Protocol Guid: ' + oAMQP.Guid);

Back to Properties