[
https://issues.apache.org/jira/browse/CAMEL-20299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-20299:
-----------------------------------
Assignee: Claus Ibsen
> camel-spring-rabbitmq - Cannot Create or Bind Producers
> -------------------------------------------------------
>
> Key: CAMEL-20299
> URL: https://issues.apache.org/jira/browse/CAMEL-20299
> Project: Camel
> Issue Type: Improvement
> Components: camel-rabbitmq, camel-spring-rabbitmq
> Affects Versions: 4.3.0
> Reporter: Lucas da Silva Lima
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.x
>
>
> Hi!
> If I use this code,
> {code:java}
> @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");
> }
> }{code}
> {{ }}
> 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?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)