DynamicRabbitMQDefinitionRegistrar::postProcessBeanDefinitionRegistry does not configure rabbit broker port on connectionFactory.
It is misleading, because RabbitConnectionConfiguration as well as examples express ability to configure port (however property is unused).
Hence it is was not possible to mock rabbit feed using TestContainers.
DynamicRabbitMQDefinitionRegistrar::postProcessBeanDefinitionRegistrydoes not configure rabbit broker port on connectionFactory.It is misleading, because
RabbitConnectionConfigurationas well as examples express ability to configure port (however property is unused).Hence it is was not possible to mock rabbit feed using TestContainers.