TsgcWSPClient_STOMP_RabbitMQ › Properties › Guid
Unique identifier that binds this STOMP RabbitMQ subprotocol instance to its WebSocket or broker connection.
property Guid: String read FGuid write FGuid;
Auto-generated on component creation
The Guid is assigned automatically in the constructor and is used internally to route frames between the TsgcWebSocketClient (or TsgcWSSTOMPBroker) and the matching STOMP subprotocol instance. It is not the STOMP session identifier: the broker returns that value inside the CONNECTED frame and it is delivered to the application through the Session parameter of OnRabbitMQConnected. Do not modify Guid unless you are explicitly re-parenting the protocol component between connections.
oRabbit := TsgcWSPClient_STOMP_RabbitMQ.Create(nil);
ShowMessage('Protocol Guid: ' + oRabbit.Guid);