Pass builder delegate to AddMessagingServicePublisher() calling cfg.AddRabbitMqConnectionFactory(configure) instead of passing Action<RabbitMqConfiguration> directly.
Pass builder delegate to AddMessagingServicePublisher() calling cfg.AddRabbitMqConnectionFactory(configure) instead of passing Action<RabbitMqConfiguration> directly.