Class MockProducer
Mock producer. Records the exchange and optionally invokes a registered consumer.
public class MockProducer : IProducer, IProcessor
Inheritance
Implements
Methods
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)
Constructors
MockProducer(MockEndpoint)
Creates a mock producer.