Method GetOrCreateSendChannelAsync
GetOrCreateSendChannelAsync(bool, CancellationToken)
Returns a reusable AMQP channel for send operations. The channel is lazily created and automatically recreated if the previous one was closed. Callers must NOT dispose the returned channel.
public Task<IChannel> GetOrCreateSendChannelAsync(bool enablePublisherConfirms, CancellationToken cancellationToken = default)
Parameters
enablePublisherConfirmsboolcancellationTokenCancellationToken
Returns
- Task<IChannel>