Habari STOMP Client for RabbitMQ 10.2
Object Pascal STOMP client library for RabbitMQ
Loading...
Searching...
No Matches
IFailoverProtocol Interface Reference

Enables the failover:(uri1,uri2,...) transport for a connection from code, replacing the HABARI_ENABLE_FAILOVER_PROTOCOL compile define. More...

Inheritance diagram for IFailoverProtocol:

Public Attributes

Boolean EnableFailoverProtocol
 When True, a failover: connection URL activates the failover transport.

Detailed Description

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;

Member Data Documentation

◆ EnableFailoverProtocol

Boolean IFailoverProtocol::EnableFailoverProtocol

When True, a failover: connection URL activates the failover transport.

See also
GetEnableFailoverProtocol For reading
SetEnableFailoverProtocol For writing

When False (the default), such a URL raises an "Unsupported Protocol" exception on connect.