File tree 2 files changed +16
-8
lines changed
2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 17
17
package sample .camel ;
18
18
19
19
import org .springframework .boot .SpringApplication ;
20
+ import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
20
21
import org .springframework .boot .autoconfigure .SpringBootApplication ;
22
+ import org .springframework .boot .autoconfigure .jms .activemq .ActiveMQAutoConfiguration ;
23
+
21
24
22
25
//CHECKSTYLE:OFF
26
+ @ EnableAutoConfiguration (exclude = {ActiveMQAutoConfiguration .class })
23
27
@ SpringBootApplication
24
28
public class SampleAmqApplication {
25
29
Original file line number Diff line number Diff line change 18
18
# to keep the JVM running
19
19
camel.springboot.main-run-controller = true
20
20
21
- # setup camel-activemq-starter with the url of the remote broker
22
- # you can change the port number to 61617 and reconfigure conf/activemq.xml to use port 61617 instead of 61616
23
- # to try using a different port than the default
24
- # because spring boot comes with activemq support out of the box when it detects activemq JARs
25
- # then you need to configure the broker-url in spring-boot
26
- # the configuration on camel.component.activemq.broker-url is not really in use but is recommended
27
- # to be configured so camel-activemq has the same setting
28
- spring.activemq.broker-url =tcp://localhost:61616
21
+ # Setup camel-activemq-starter with the url of the remote broker.
22
+ # You can change the port number to 61617 and reconfigure conf/activemq.xml to use port 61617 instead of 61616
23
+ # to try using a different port than the default.
24
+ # Because spring boot comes with activemq support out of the box when it detects activemq JARs
25
+ # then you need to configure the broker-url in spring-boot.
26
+ # Unless the application is configured for
27
+ # @EnableAutoConfiguration(exclude = {
28
+ # ActiveMQAutoConfiguration.class
29
+ # })
30
+ # the configuration on camel.component.activemq.broker-url is not really in use.
31
+ # But is recommended to be configured so camel-activemq has the same setting
32
+ # spring.activemq.broker-url=tcp://localhost:61616
29
33
camel.component.activemq.broker-url =tcp://localhost:61616
30
34
You can’t perform that action at this time.
0 commit comments