문제

we are developing a Spring-AMQP - RabbitMQ app. We want to use shovel to replicate the messages from a local queue to a remote queue but we want to make almost all the configuration of the messaging service from the spring app.

At this point we are able to create the queues, exchanges etc, etc. from the app itself but we can't find a way to configure shovel from the same app. Is there a way to achive this?

If we use federation plugin instead of shovel, is there a better way of configuring it rather than shovel using Spring-AMQP?

도움이 되었습니까?

해결책

It looks like there's no way to configure shovel programmatically. What I did in the end was modifing directly the shovel configuration file from my application an later restart rabbitmq. Is an ugly solution but works.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top