Migration Question: ConsumerCancelled Event in Version 7.1.2 #1853
-
Hi I'm currently planning to migrate from version 6.8.1 to 7.1.2 and I'm facing an issue with an event that seems to be removed or changed. Current Implementation (v6.8.1)
Issue Questions |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@MohammadAminPourmoradian the event in question has a dedicated test suite. string notifiedConsumerTag = null;
consumer.UnregisteredAsync += (sender, args) =>
{
notifiedConsumerTag = args.ConsumerTags.First();
_tcs.TrySetResult(true);
return Task.CompletedTask;
};
await _channel.QueueDeleteAsync(q1);
await WaitAsync(_tcs, "ConsumerCancelled event");
Assert.Equal(consumerTag1, notifiedConsumerTag); |
Beta Was this translation helpful? Give feedback.
@MohammadAminPourmoradian the event in question has a dedicated test suite.