![]() |
Habari STOMP Client for RabbitMQ 10.2
Object Pascal STOMP client library for RabbitMQ
|
Enables the failover:(uri1,uri2,...) transport for a connection from code, replacing the HABARI_ENABLE_FAILOVER_PROTOCOL compile define. More...
Public Attributes | |
| Boolean | EnableFailoverProtocol |
| When True, a failover: connection URL activates the failover transport. | |
Enables the failover:(uri1,uri2,...) transport for a connection from code, replacing the HABARI_ENABLE_FAILOVER_PROTOCOL compile define.
Query it from an IConnection and set the property before the connection is started:
(Connection as IFailoverProtocol).EnableFailoverProtocol := True;
| Boolean IFailoverProtocol::EnableFailoverProtocol |
When True, a failover: connection URL activates the failover transport.
When False (the default), such a URL raises an "Unsupported Protocol" exception on connect.