Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.3.0
-
None
-
Moderate
Description
Hi!
If I use this code,
@Component public class SampleCamelRouter extends RouteBuilder { @Override public void configure() throws Exception { from("timer:hello?period=2000") .transform(simple("Bigger random number ${random(100,200)}")) .to("spring-rabbitmq:foo?queues=myqueue&routingKey=mykey"); } }
I am required to manually create queues, binds, and exchanges. However, in version 3.x.x (rabbitmq-component) this was not necessary. Even looking at the documentation, the auto-declare property was functional for both consumers and producers a.k.a common (https://camel.apache.org/components/3.21.x/rabbitmq-component.html#_component_option_declare). Nevertheless, in the current documentation, it is mentioned only for consumers (https://camel.apache.org/components/4.0.x/spring-rabbitmq-component.html#_endpoint_query_option_autoDeclare).
Will it added in future? Or is another way to implements without declare one-by-one, using something auto declared like in other version?
Attachments
Issue Links
- is related to
-
CAMEL-20091 autoDeclare for Producers in Spring Rabbit MQ
- Resolved
- links to