Closed ahmedanwar100 closed 1 year ago
Hi, Not sure I understand the problem you are pointing out... The cancelationtoken(s) are intended to be used to cancel, etc. the async request... it is not passed to the listener, it only functions locally at the API.
issue resolved
Describe the bug
I passed a cancellation token and trigger the event but at the receiving side the listener was not invoked.
Steps to reproduce
Steps to reproduce the behavior:
await _rabbitTemplate.ConvertAndSendAsync(Constants.RECEIVE_AND_CONVERT_QUEUE, msg, cancellationToken);
and cancellation token will be there if you use mediator patternExpected behavior
Listener service should be invoked with cancellation token.
Environment (please complete the following information):
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context or links
Add any other context about the problem here.