Auto create exchange by spring boot rabbit mq producer #1081
-
Hello. How can I configure the Spring RabbitMq message producer to automatically create exchanges for messages? I was able to send messages only to ready exchanges. I also managed to configure the consumer to create the exchanger itself via AutoDeclare. Is there something similar for the producer? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
It may be that rabbitmq has some option to allow auto delcare when sending to new destinations that does not already exists. You may look in their docs. Also there may be a ticket about this in Camel JIRA. You are welcome to search and report back |
Beta Was this translation helpful? Give feedback.
-
https://issues.apache.org/jira/browse/CAMEL-20299 Camel 4.5 will have a new option |
Beta Was this translation helpful? Give feedback.
I was able to create a RabbitMq exchange by adding Process in the route itself