This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git
The following commit(s) were added to refs/heads/master by this push: new 7d2c399 rabbitmq example should use the new spring-rabbitmq component 7d2c399 is described below commit 7d2c39980dfc31936eba675b86ef445cfc7f06af Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Jan 12 18:08:54 2021 +0100 rabbitmq example should use the new spring-rabbitmq component --- camel-example-spring-boot-rabbitmq/pom.xml | 10 ---------- .../src/main/resources/application.properties | 12 +++--------- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/camel-example-spring-boot-rabbitmq/pom.xml b/camel-example-spring-boot-rabbitmq/pom.xml index 702c09c..21e6612 100644 --- a/camel-example-spring-boot-rabbitmq/pom.xml +++ b/camel-example-spring-boot-rabbitmq/pom.xml @@ -66,16 +66,6 @@ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> - <exclusions> - <exclusion> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-tomcat</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-undertow</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> diff --git a/camel-example-spring-boot-rabbitmq/src/main/resources/application.properties b/camel-example-spring-boot-rabbitmq/src/main/resources/application.properties index bbe7bfb..d6fdc6b 100644 --- a/camel-example-spring-boot-rabbitmq/src/main/resources/application.properties +++ b/camel-example-spring-boot-rabbitmq/src/main/resources/application.properties @@ -16,29 +16,23 @@ ## --------------------------------------------------------------------------- # the name of Camel -camel.springboot.name = SampleCamel +camel.springboot.name = RabbitCamel # to automatic shutdown the JVM after a period of time #camel.springboot.duration-max-seconds=60 #camel.springboot.duration-max-messages=100 -# add for example: &repeatCount=5 to the timer endpoint to make Camel idle -#camel.springboot.duration-max-idle-seconds=15 - # properties used in the Camel route and beans # -------------------------------------------- -# turn on actuator health check -management.endpoint.health.enabled = true - # configure connection to the rabbit mq broker using spring rabbitmq style spring.rabbitmq.host = 127.0.0.1 spring.rabbitmq.port = 5672 spring.rabbitmq.username = guest spring.rabbitmq.password = guest -# turn off auto declare if Camel should not automatic setup exchange, queue and bindings -# camel.component.spring-rabbitmq.auto-declare = false +# turn on auto declare so the exchange, queues are automatic created if not already present in rabbitmq broker +camel.component.spring-rabbitmq.auto-declare = true # to configure logging levels #logging.level.org.springframework = INFO