danieleteti / delphistompclient

STOMP client for Embarcadero Delphi and FreePascal.
141 stars 64 forks source link

Add support for TLS handshake passthrough #33

Closed hugorosario closed 2 years ago

hugorosario commented 2 years ago

Hi there. I made a few changes to support connecting via TLS to a RabbitMQ cluster. The SSL handshake requires the Passthrough property to be False before connecting. When enabling SSL with the SetUseSSL, one can set the passthrough connection value.

Example: SetPort(DEFAULT_STOMP_TLS_PORT); //Use default port 61614 SetUseSSL(True, False); //Use SSL with PassThrough = False