Interface IManagement
The IManagement interface is used to manage the AMQP 0.9.1 model topology (exchanges, queues, and bindings).
public interface IManagement : ILifeCycle, IDisposable
- Inherited Members
Methods
Binding()
Create an IBindingSpecification.
IBindingSpecification Binding()
Returns
- IBindingSpecification
A builder for IBindingSpecification
Exchange()
Create an IExchangeSpecification, with an auto-generated name.
IExchangeSpecification Exchange()
Returns
- IExchangeSpecification
A builder for IExchangeSpecification
Exchange(string)
Create an IExchangeSpecification, with the given name.
IExchangeSpecification Exchange(string name)
Parameters
name
string
Returns
- IExchangeSpecification
A builder for IExchangeSpecification
GetQueueInfoAsync(IQueueSpecification, CancellationToken)
Get the IQueueInfo for the given queue specification.
Task<IQueueInfo> GetQueueInfoAsync(IQueueSpecification queueSpec, CancellationToken cancellationToken = default)
Parameters
queueSpec
IQueueSpecificationcancellationToken
CancellationToken
Returns
- Task<IQueueInfo>
The IQueueInfo for the given spec.
GetQueueInfoAsync(string, CancellationToken)
Get the IQueueInfo for the given queue name.
Task<IQueueInfo> GetQueueInfoAsync(string queueName, CancellationToken cancellationToken = default)
Parameters
queueName
stringThe queue name
cancellationToken
CancellationToken
Returns
- Task<IQueueInfo>
The IQueueInfo for the given spec.
Queue()
Create an IQueueSpecification, with an auto-generated name.
IQueueSpecification Queue()
Returns
- IQueueSpecification
A builder for IQueueSpecification
Queue(string)
Create an IQueueSpecification, with the given name.
IQueueSpecification Queue(string name)
Parameters
name
string
Returns
- IQueueSpecification
A builder for IQueueSpecification