C# Class Prototype.Service.Publish.MessagePublisher

Class to publish messages to the bus
Inheritance: IMessagePublisher
Exibir arquivo Open project: radicalgeek/SampleMicroservice Class Usage Examples

Public Methods

Method Description
MessagePublisher ( IAdvancedBus bus, ILogger logger, IExchange exchange, IQueue queue ) : EasyNetQ
Publish ( dynamic message, string topic ) : void

Publishs a messaage to the bus, with no delivery verification, response or callback

Method Details

MessagePublisher() public method

public MessagePublisher ( IAdvancedBus bus, ILogger logger, IExchange exchange, IQueue queue ) : EasyNetQ
bus IAdvancedBus
logger ILogger
exchange IExchange
queue IQueue
return EasyNetQ

Publish() public method

Publishs a messaage to the bus, with no delivery verification, response or callback
public Publish ( dynamic message, string topic ) : void
message dynamic The message to be published
topic string The topic to send the message too
return void