|
|
@ -143,13 +143,10 @@ namespace Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ |
|
|
|
{ |
|
|
|
_persistentConnection.TryConnect(); |
|
|
|
} |
|
|
|
|
|
|
|
using (var channel = _persistentConnection.CreateModel()) |
|
|
|
{ |
|
|
|
channel.QueueBind(queue: _queueName, |
|
|
|
exchange: BROKER_NAME, |
|
|
|
routingKey: eventName); |
|
|
|
} |
|
|
|
|
|
|
|
_consumerChannel.QueueBind(queue: _queueName, |
|
|
|
exchange: BROKER_NAME, |
|
|
|
routingKey: eventName); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|