pardahlman / RawRabbit

A modern .NET framework for communication over RabbitMq
MIT License
747 stars 144 forks source link

Publish Message Middleware #126

Closed pardahlman closed 7 years ago

pardahlman commented 8 years ago

In order to be able to publish a message we need to have a pipe similar to this

            pipe
                .Use<OperationConfigurationMiddleware>()
                .Use<MessageChainingMiddleware>()
                .Use<GlobalMessageIdMiddleware>()
                .Use<ExchangeDeclareMiddleware>()
                .Use<MessageContextCreationMiddleware<TMessageContext>>()
                .Use<ContextSerializationMiddleware>()
                .Use<BasicPropertiesMiddleware>()
                .Use<MessageSerializationMiddleware>()
                .Use<PublishChannelMiddleware>()
                .Use<PublishMessage>();

This ticket includes creating middleware not already created in other tickets to achieve publish