Croway opened a new pull request, #18356:
URL: https://github.com/apache/camel/pull/18356

   ```
   $ camel infra run rabbitmq --json
   {
     "connectionProperties" : { },
     "getAmqpUrl" : "amqp://localhost:5672",
     "getHttpPort" : 15672,
     "initialize" : null,
     "shutdown" : null,
     "uri" : "amqp://localhost:5672"
   }
   ```
   
   ```
           CachingConnectionFactory cachingConnectionFactory = new 
CachingConnectionFactory();
           cachingConnectionFactory.setUri("amqp://localhost:32774");
           getCamelContext().getRegistry().bind("rabbitConnectionFactory", 
cachingConnectionFactory);
   
           from("timer:java?period=1000")
                   .setBody()
                   .simple("Hello Camel from ${routeId}")
                   .to("spring-rabbitmq:cheese?routingKey=cheese");
   
           from("spring-rabbitmq:cheese?routingKey=cheese")
                   .log("${body}");
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to