Skip to content

[CAMEL-21862] camel-spring-boot - Remove deprecated camel.springboot. config prefix #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion activemq/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
## limitations under the License.
## ---------------------------------------------------------------------------

camel.springboot.main-run-controller = true
camel.main.run-controller = true

# This configures Springs default ActiveMQConnectionFactory that is
# created by Spring Boot AutoConfiguration unless ActiveMQAutoConfiguration
Expand Down
2 changes: 1 addition & 1 deletion amqp/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
## limitations under the License.
## ---------------------------------------------------------------------------

camel.springboot.main-run-controller = true
camel.main.run-controller = true

# JMS ConnectionFactory configuration
AMQP_REMOTE_URI=amqp://localhost:5672
Expand Down
4 changes: 2 additions & 2 deletions aot-basic/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ logging.level.sample.camel = DEBUG

camel.main.name = MyCamelNative

camel.springboot.main-run-controller: true
camel.main.run-controller: true

camel.springboot.routes-include-pattern: file:${user.dir}/routes/*.yaml,file:${user.dir}/routes/*.xml
camel.main.routes-include-pattern: file:${user.dir}/routes/*.yaml,file:${user.dir}/routes/*.xml

# what to say
greeting: Hello World
Expand Down
2 changes: 1 addition & 1 deletion arangodb/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
## limitations under the License.
## ---------------------------------------------------------------------------
camel.main.name=ArangoDB
camel.springboot.main-run-controller=true
camel.main.run-controller=true
camel.component.arangodb.documentCollection=foo
camel.component.arangodb.user=root
camel.component.arangodb.password=openSesame
Expand Down
2 changes: 1 addition & 1 deletion artemis/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## ---------------------------------------------------------------------------

#You can use this property to override the default autowired broker-url
camel.springboot.main-run-controller = true
camel.main.run-controller = true
#spring.artemis.mode=native
spring.artemis.mode=embedded
spring.artemis.host=localhost
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
camel.vault.aws.accessKey=<accessKey>
camel.vault.aws.secretKey=<secretKey>
camel.vault.aws.region=<region>
camel.springboot.main-run-controller=true
camel.main.run-controller=true
logging.config=classpath:logback.xml
stock=AMZN

2 changes: 1 addition & 1 deletion aws2-s3/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
camel.component.aws2-s3.accessKey=xxxx
camel.component.aws2-s3.secretKey=yyyy
camel.component.aws2-s3.region=region
camel.springboot.main-run-controller=true
camel.main.run-controller=true
logging.config=classpath:logback.xml
bucketName=camel-kafka-connector

6 changes: 3 additions & 3 deletions fhir-auth-tx/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ camel.main.name = MyCamel
server.port=0

# to automatic shutdown the JVM after a period of time
#camel.springboot.duration-max-seconds=60
#camel.springboot.duration-max-messages=100
#camel.main.duration-max-seconds=60
#camel.main.duration-max-messages=100

# add for example: &repeatCount=5 to the timer endpoint to make Camel idle
#camel.springboot.duration-max-idle-seconds=15
#camel.main.duration-max-idle-seconds=15

# expose actuator endpoint via HTTP
management.endpoints.web.exposure.include=info,health
Expand Down
6 changes: 3 additions & 3 deletions fhir/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ input=target/work/fhir/input
camel.main.name = MyCamel

# to automatic shutdown the JVM after a period of time
#camel.springboot.duration-max-seconds=60
#camel.springboot.duration-max-messages=100
#camel.main.duration-max-seconds=60
#camel.main.duration-max-messages=100

# add for example: &repeatCount=5 to the timer endpoint to make Camel idle
#camel.springboot.duration-max-idle-seconds=15
#camel.main.duration-max-idle-seconds=15

# expose actuator endpoint via HTTP
management.endpoints.web.exposure.include=info,health
Expand Down
2 changes: 1 addition & 1 deletion health-checks/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ management.endpoint.health.show-details=always
camel.main.name = MyCamel

# enable JMX which allows to also control health check
camel.springboot.jmx-enabled = true
camel.main.jmx-enabled = true

# properties used in the route
myPeriod = 10s
Expand Down
2 changes: 1 addition & 1 deletion infinispan/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## ---------------------------------------------------------------------------

camel.main.name=Infinispan
camel.springboot.main-run-controller=true
camel.main.run-controller=true
camel.component.infinispan.hosts=localhost:11222
camel.component.infinispan.username=admin
camel.component.infinispan.password=password
Expand Down
6 changes: 3 additions & 3 deletions jolokia/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ greeting = Hello World
timer.period = 2000

# to automatic shutdown the JVM after a period of time
#camel.springboot.duration-max-seconds=60
#camel.springboot.duration-max-messages=100
#camel.main.duration-max-seconds=60
#camel.main.duration-max-messages=100

# add for example: &repeatCount=5 to the timer endpoint to make Camel idle
#camel.springboot.duration-max-idle-seconds=15
#camel.main.duration-max-idle-seconds=15

# expose actuator endpoint via HTTP
management.endpoints.web.exposure.include=info,health,camelroutes
Expand Down
2 changes: 1 addition & 1 deletion kamelet-chucknorris/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ camel:
main:
name: ChuckCamel
# keep the application running
main-run-controller: true
run-controller: true
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
camel.main.name: CamelMailExchangeOAuth2

# Keep the application running
camel.springboot.main-run-controller: true
camel.main.run-controller: true


# Azure Active Directory tenant ID
Expand Down
2 changes: 1 addition & 1 deletion master/src/main/resources/application-file.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ management.endpoints.enabled-by-default = false
management.endpoints.jmx.enabled = false
management.endpoint.health.enabled = true

camel.springboot.jmx-enabled = false
camel.main.jmx-enabled = false

management.server.port = -1

Expand Down
2 changes: 1 addition & 1 deletion master/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ logging.level.org.apache.camel.component.master = DEBUG
logging.level.org.apache.camel.examples.cluster = DEBUG

camel.main.name = SampleClusteredRouteController
camel.springboot.main-run-controller = true
camel.main.run-controller = true

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# the name of Camel
camel.main.name=Client
camel.springboot.main-run-controller=true
camel.main.run-controller=true

spring.application.name=${camel.main.name}
management.tracing.sampling.probability=1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# the name of Camel
camel.main.name=Service1
camel.springboot.main-run-controller=true
camel.main.run-controller=true

spring.application.name=${camel.main.name}
management.tracing.sampling.probability=1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# the name of Camel
camel.main.name=Service2
camel.springboot.main-run-controller=true
camel.main.run-controller=true

spring.application.name=${camel.main.name}
management.tracing.sampling.probability=1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
camel.springboot.main-run-controller=true
camel.springboot.use-mdc-logging = true
camel.main.run-controller=true
camel.main.use-mdc-logging = true
camel.component.micrometer.enabled=true
camel.component.metrics.metric-registry=prometheusMeterRegistry
camel.metrics.enable-message-history=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
camel.springboot.main-run-controller=true
camel.springboot.use-mdc-logging = true
camel.main.run-controller=true
camel.main.use-mdc-logging = true
camel.component.micrometer.enabled=true
camel.component.metrics.metric-registry=prometheusMeterRegistry
camel.metrics.enable-message-history=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
camel.springboot.main-run-controller=true
camel.springboot.use-mdc-logging = true
camel.main.run-controller=true
camel.main.use-mdc-logging = true
camel.component.micrometer.enabled=true
camel.component.metrics.metric-registry=prometheusMeterRegistry
camel.metrics.enable-message-history=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
camel.springboot.main-run-controller=true
camel.springboot.use-mdc-logging = true
camel.main.run-controller=true
camel.main.use-mdc-logging = true
camel.component.micrometer.enabled=true
camel.component.metrics.metric-registry=prometheusMeterRegistry
camel.metrics.enable-message-history=true
Expand Down
4 changes: 2 additions & 2 deletions pojo/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
camel.main.name = PojoExample

# keep camel running
camel.springboot.main-run-controller = true
camel.main.run-controller = true

# automatic shutdown after 60 seconds
camel.springboot.duration-max-seconds = 60
camel.main.duration-max-seconds = 60
4 changes: 2 additions & 2 deletions quartz/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
camel.main.name = Quartz-to-Log

# keep camel running
camel.springboot.main-run-controller = true
camel.main.run-controller = true

# automatic shutdown after 60 seconds
camel.springboot.duration-max-seconds = 60
camel.main.duration-max-seconds = 60
4 changes: 2 additions & 2 deletions rabbitmq/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
camel.main.name = RabbitCamel

# to automatic shutdown the JVM after a period of time
#camel.springboot.duration-max-seconds=60
#camel.springboot.duration-max-messages=100
#camel.main.duration-max-seconds=60
#camel.main.duration-max-messages=100

# properties used in the Camel route and beans
# --------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# the name of Camel
camel.main.name=Service1
camel.springboot.main-run-controller=true
camel.main.run-controller=true
server.port=9090

# the port number the service will use for accepting incoming HTTP requests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

# the name of Camel
camel.main.name = cxf-otel-even
camel.springboot.main-run-controller=true
camel.main.run-controller=true
service.random.url = http://localhost:8080
#logging.level.org.apache.cxf = TRACE
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

# the name of Camel
camel.main.name = cxf-otel-odd
camel.springboot.main-run-controller=true
camel.main.run-controller=true
service.random.url = http://localhost:8080
#logging.level.org.apache.cxf = TRACE
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# the name of Camel
camel.main.name = cxf-otel-random
camel.springboot.main-run-controller=true
camel.main.run-controller=true
service.random.url = http://localhost:8080
service.even.url = http://localhost:8081
service.odd.url = http://localhost:8082
Expand Down
2 changes: 1 addition & 1 deletion rest-cxf/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@

# the name of Camel
camel.main.name = MyCamel
camel.springboot.main-run-controller=true
camel.main.run-controller=true
#logging.level.org.apache.cxf = TRACE
6 changes: 3 additions & 3 deletions route-reload/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
camel.main.name = ReloadCamel

# turn on route reloading on file changes
camel.springboot.routes-reload-enabled = true
camel.main.routes-reload-enabled = true
# the base directory to watch
camel.springboot.routes-reload-directory = src/main/resources/camel
camel.main.routes-reload-directory = src/main/resources/camel
# pattern(s) for files to watch
camel.springboot.routes-reload-pattern = *.xml
camel.main.routes-reload-pattern = *.xml


2 changes: 1 addition & 1 deletion routes-configuration/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ camel:
name: MyCamel

# keep Camel running
main-run-controller: true
run-controller: true

# verbose summary so you can see the pairing of routes and routes configurations
startup-summary-level: verbose
Expand Down
2 changes: 1 addition & 1 deletion saga/saga-app/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ camel:
service:
lra.enabled: true
main:
main-run-controller: true
run-controller: true
name: Camel-saga
example.services:
train: saga-train-service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ camel:
service:
lra.enabled: true
main:
main-run-controller: true
run-controller: true
name: Camel-flight
example.services:
flight: saga-flight-service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ camel:
service:
lra.enabled: true
main:
main-run-controller: true
run-controller: true
name: Camel-payment
example.services:
payment: saga-payment-service
Expand Down
2 changes: 1 addition & 1 deletion saga/saga-train-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ camel:
service:
lra.enabled: true
main:
main-run-controller: true
run-controller: true
name: Camel-train
example.services:
train: saga-train-service
Expand Down
2 changes: 1 addition & 1 deletion soap-cxf/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# the name of Camel
camel.main.name = MyCamel
camel.springboot.main-run-controller=true
camel.main.run-controller=true

# logging.level.root=TRACE

Expand Down
2 changes: 1 addition & 1 deletion splitter-eip/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
camel.main.name = CamelSpringBootSplitter

# required for generated Type Converter Loader - Camel 3.x way
camel.springboot.load-type-converters=true
camel.main.load-type-converters=true

# to configure logging levels
logging.level.org.springframework = INFO
Expand Down
2 changes: 1 addition & 1 deletion spring-jdbc/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## ---------------------------------------------------------------------------

camel.main.name = MyCamel
camel.springboot.main-run-controller=true
camel.main.run-controller=true

camel.servlet.mapping.enabled = true
camel.servlet.mapping.context-path = /api/*
Expand Down
2 changes: 1 addition & 1 deletion type-converter/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
camel.main.name = CamelCustomConverterExample

# required for generated Type Converter Loader - Camel 3.x way
camel.springboot.load-type-converters=true
camel.main.load-type-converters=true

# to configure logging levels
logging.level.org.springframework = INFO
Expand Down
Loading