有人知道如何定义一个带有指定docker图像的rabbitmq容器对象,并启用shovel和stream插件吗?我需要在我的集成测试中使用它来测试功能。我现在的代码如下:
@Container protected RabbitMQContainer container = new RabbitMQContainer(DockerImageName.parse("rabbitmq").withTag("3-management"));
bfnvny8b1#
您是否尝试过RabbitMQContainer. with PluginsEnabled?
@Container protected RabbitMQContainer container = new RabbitMQContainer(DockerImageName.parse("rabbitmq").withTag("3-management")) .withPluginsEnabled("rabbitmq_shovel", "rabbitmq_stream");
1条答案
按热度按时间bfnvny8b1#
您是否尝试过RabbitMQContainer. with PluginsEnabled?