C# Class paramore.brighter.commandprocessor.messaginggateway.rmq.MessageGatewayConnectionPool

Class MessageGatewayConnectionPool.
Afficher le fichier Open project: iancooper/Paramore Class Usage Examples

Méthodes publiques

Méthode Description
GetConnection ( ConnectionFactory connectionFactory ) : IConnection

Return matching RabbitMQ connection if exist (match by amqp scheme) or create new connection to RabbitMQ (thread-safe)

Private Methods

Méthode Description
CreateConnection ( ConnectionFactory connectionFactory ) : IConnection
GetConnectionId ( ConnectionFactory connectionFactory ) : string
TryRemoveConnection ( string connectionId ) : void

Method Details

GetConnection() public méthode

Return matching RabbitMQ connection if exist (match by amqp scheme) or create new connection to RabbitMQ (thread-safe)
public GetConnection ( ConnectionFactory connectionFactory ) : IConnection
connectionFactory RabbitMQ.Client.ConnectionFactory
Résultat IConnection