This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 68ef210  Add note to example explaining
68ef210 is described below

commit 68ef2109e33dfe8fecf2a49b7ff2236f63ca3e26
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Nov 4 10:06:43 2021 +0100

    Add note to example explaining
---
 activemq/src/main/resources/application.properties | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/activemq/src/main/resources/application.properties 
b/activemq/src/main/resources/application.properties
index d54fbe8..a27e1d0 100644
--- a/activemq/src/main/resources/application.properties
+++ b/activemq/src/main/resources/application.properties
@@ -21,6 +21,10 @@ camel.springboot.main-run-controller = true
 # setup camel-activemq-starter with the url of the remote broker
 # you can change the port number to 61617 and reconfigure conf/activemq.xml to 
use port 61617 instead of 61616
 # to try using a different port than the default
-camel.component.activemq.broker-url=tcp://localhost:61616
+# because spring boot comes with activemq support out of the box when it 
detects activemq JARs
+# then you need to configure the broker-url in spring-boot
+# the configuration on camel.component.activemq.broker-url is not really in 
use but is recommended
+# to be configured so camel-activemq has the same setting
 spring.activemq.broker-url=tcp://localhost:61616
+camel.component.activemq.broker-url=tcp://localhost:61616
 

Reply via email to