Skip to main content
Version: 3.x

IProducerAccessor.GetProducer method (1 of 2)

Gets a producer by its name

public IMessageProducer GetProducer(string name)
parameterdescription
nameThe name defined in the producer configuration

See Also


IProducerAccessor.GetProducer<TProducer> method (2 of 2)

Gets a producer by its type

public IMessageProducer GetProducer<TProducer>()
parameterdescription
TProducerThe type defined in the configuration

See Also