Свойство | Type | Description | |
---|---|---|---|
_retryPolicy | IRetryPolicy | ||
_unsubscribeEvents | System.Action | ||
_watcher | IRabbitWatcher |
Méthode | Description | |
---|---|---|
Connect ( ) : void |
Try to connect to rabbitmq server, retry if it cann't connect to the broker.
|
|
CreateChannel ( ) : IModel |
Create a RabbitMQ channel
|
|
Dispose ( ) : void | ||
DurableConnection ( IRetryPolicy retryPolicy, IRabbitWatcher watcher, |
Initialize a DurableConnection object
|
Méthode | Description | |
---|---|---|
FireConnectedEvent ( ) : void |
This should be called whenever a physical connection to rabbitMQ which has the same endpoint/virtual host is made
|
|
FireDisconnectedEvent ( ) : void | ||
SharedConnectionShutdown ( object sender, RabbitMQ.Client.ShutdownEventArgs reason ) : void |
Méthode | Description | |
---|---|---|
DurableConnection ( IRetryPolicy retryPolicy, IRabbitWatcher watcher ) : System | ||
HandleConnectionException ( |
public DurableConnection ( IRetryPolicy retryPolicy, IRabbitWatcher watcher, |
||
retryPolicy | IRetryPolicy | |
watcher | IRabbitWatcher | |
connectionFactory | ||
Résultat | System |
protected SharedConnectionShutdown ( object sender, RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
sender | object | |
reason | RabbitMQ.Client.ShutdownEventArgs | |
Résultat | void |
protected Action,System _unsubscribeEvents | ||
Résultat | System.Action |