Pass builder delegate to AddMessagingServicePublisher() calling cfg.AddRabbitMqConnectionFactory(RabbitMqTestConfig.Apply).