protected void UpdateInfo(IDictionary <string, string> reservedNamesMapping) { _replyQueueName = new AmqpQueueInfo { Name = reservedNamesMapping[_replyQueueName.Name] }; _operational = true; }
internal async Task Setup() { _replyQueueName = await _channel.QueueDeclare("", false, false, exclusive : true, autoDelete : true, waitConfirmation : true, arguments : null); _subscription = await _channel.BasicConsume(_mode, OnReplyReceived, _replyQueueName.Name, consumerTag : "abc" + new Random().Next(100000), withoutAcks : true, exclusive : true, arguments : null, waitConfirmation : true); }
internal async Task Setup() { _replyQueueName = await _channel.QueueDeclare("", false, false, exclusive: true, autoDelete: true, waitConfirmation: true, arguments: null); _subscription = await _channel.BasicConsume(_mode, OnReplyReceived, _replyQueueName.Name, consumerTag: "abc" + new Random().Next(100000), withoutAcks: true, exclusive: true, arguments: null, waitConfirmation: true); }
protected async Task Setup() { _replyQueueName = await _channel.QueueDeclare("", // temp false, false, exclusive : true, autoDelete : true, waitConfirmation : true, arguments : null).ConfigureAwait(false); _subscription = await _channel.BasicConsume(_mode, OnReplyReceived, _replyQueueName.Name, consumerTag : "", withoutAcks : true, exclusive : true, arguments : null, waitConfirmation : true).ConfigureAwait(false); }