TsgcWSPClient_STOMP_ActiveMQ › Properties › Guid
Unique identifier that binds this ActiveMQ STOMP 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 OnActiveMQConnected. It is also unrelated to ActiveMQ_Options.ClientId, which is the JMS-level client identifier sent on the activemq.client-id CONNECT header. Do not modify Guid unless you are explicitly re-parenting the protocol component between connections.
ShowMessage('Protocol Guid: ' + STOMP.Guid);