Possible to bind an exchange to a queue during container boot/init #609
Unanswered
John-Bowring
asked this question in
Q&A
Replies: 1 comment
-
If applications cannot set up their own topology, use boot time definition import instead of modifying image scripts. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Basically I have a command to set up an bind between an exchange and a queue but it's erased every time I have to restart the container, is there any way to include this in the dockerfile or in the configuration. I tried adding the below to the init.sh but it did nothing.
rabbitmqadmin declare binding source="amq.direct" destination_type="queue" destination="router-callback-queue" routing_key="router-callback-queue"
Beta Was this translation helpful? Give feedback.
All reactions