Skip to content

Commit 1987eb4

Browse files
committed
Replaces deprecated camel.springboot.name property
1 parent 071e979 commit 1987eb4

File tree

40 files changed

+43
-43
lines changed

40 files changed

+43
-43
lines changed

actuator-http-metrics/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ management.endpoint.shutdown.enabled=true
2929
# expose actuator endpoint via HTTP
3030
management.endpoints.web.exposure.include=camelroutes,jolokia,metrics,prometheus,health,mappings,shutdown
3131

32-
camel.springboot.name = MyCamel
32+
camel.main.name = MyCamel
3333

3434
# properties used in the route
3535
metricsPeriod = 2s

amqp-salesforce/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
## name of CamelContext
19-
camel.springboot.name=mention
19+
camel.main.name=mention
2020

2121
## AMQP and Rest configuration
2222

arangodb/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
## See the License for the specific language governing permissions and
1515
## limitations under the License.
1616
## ---------------------------------------------------------------------------
17-
camel.springboot.name=ArangoDB
17+
camel.main.name=ArangoDB
1818
camel.springboot.main-run-controller=true
1919
camel.component.arangodb.documentCollection=foo
2020
camel.component.arangodb.user=root

endpointdsl/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = MyCamel
19+
camel.main.name = MyCamel
2020

2121
# what to say
2222
greeting = Hello World

fhir-auth-tx/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fhirVersion=DSTU3
2424
input=target/work/fhir/input
2525

2626
# the name of Camel
27-
camel.springboot.name = MyCamel
27+
camel.main.name = MyCamel
2828

2929
server.port=0
3030

fhir/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fhirVersion=R4
2222
input=target/work/fhir/input
2323

2424
# the name of Camel
25-
camel.springboot.name = MyCamel
25+
camel.main.name = MyCamel
2626

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

health-checks/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ management.endpoint.health.enabled = true
3131
# show verbose health details (/actuator/health) so you can see Camel information also
3232
management.endpoint.health.show-details=always
3333

34-
camel.springboot.name = MyCamel
34+
camel.main.name = MyCamel
3535

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

http-ssl/ssl-camel-server/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
camel.springboot.name=ssl-camel-server
18+
camel.main.name=ssl-camel-server
1919
camel.component.undertow.ssl-context-parameters=#serverConfig
2020
camel.component.undertow.use-global-ssl-context-parameters=true
2121
keystore-password=pass123

http-ssl/ssl-client/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717

1818
spring.profiles.active = ${sbProfile}
19-
camel.springboot.name=ssl-client
19+
camel.main.name=ssl-client
2020
camel.component.http.use-global-ssl-context-parameters=true
2121
management.endpoint.camelroutes.enabled=true
2222
management.endpoint.camelroutes.read-only=true

http-ssl/ssl-server/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717

1818
spring.profiles.active = ${sbProfile}
19-
camel.springboot.name=ssl-server
19+
camel.main.name=ssl-server
2020
management.endpoint.camelroutes.enabled=true
2121
management.endpoint.camelroutes.read-only=true
2222
management.endpoint.health.enabled=true

infinispan/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
## limitations under the License.
1616
## ---------------------------------------------------------------------------
1717

18-
camel.springboot.name=Infinispan
18+
camel.main.name=Infinispan
1919
camel.springboot.main-run-controller=true
2020
infinispan.host=localhost
2121
infinispan.port=11222

jolokia/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = CamelJolokia
19+
camel.main.name = CamelJolokia
2020

2121
# what to say
2222
greeting = Hello World

mail-ms-exchange-oauth2/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
camel.springboot.name: CamelMailExchangeOAuth2
18+
camel.main.name: CamelMailExchangeOAuth2
1919

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

master/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ logging.level.org.apache.camel.component.atomix = DEBUG
2727
logging.level.org.apache.camel.component.master = DEBUG
2828
logging.level.org.apache.camel.examples.cluster = DEBUG
2929

30-
camel.springboot.name = SampleClusteredRouteController
30+
camel.main.name = SampleClusteredRouteController
3131
camel.springboot.main-run-controller = true
3232

3333
# expose actuator endpoint via HTTP

metrics/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
info.build.name=Example of sending camel metrics to Graphite
19-
camel.springboot.name=camel-example-spring-boot-metrics
19+
camel.main.name=camel-example-spring-boot-metrics
2020

2121
# expose actuator endpoint via HTTP
2222
management.endpoints.web.exposure.include=camelroutes,jolokia,metrics,prometheus,health

multi-datasource-2pc/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = My2PcCamel
19+
camel.main.name = My2PcCamel
2020
# how often to trigger the timer (millis)
2121
myPeriod = 3000
2222

observation/client/src/main/resources/application.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
## ---------------------------------------------------------------------------
1717
spring.profiles.active=@spring.profiles.active@
1818
# the name of Camel
19-
camel.springboot.name=client
19+
camel.main.name=client
2020
camel.springboot.main-run-controller=true
2121

22-
spring.application.name=client
22+
spring.application.name=${camel.main.name}
2323
management.tracing.sampling.probability=1.0
2424
management.endpoints.web.exposure.include=health,jolokia,metrics,prometheus
2525
server.port=5432

observation/service1/src/main/resources/application.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
## ---------------------------------------------------------------------------
1717
spring.profiles.active=@spring.profiles.active@
1818
# the name of Camel
19-
camel.springboot.name=service1
19+
camel.main.name=service1
2020
camel.springboot.main-run-controller=true
2121

22-
spring.application.name=service1
22+
spring.application.name=${camel.main.name}
2323
management.tracing.sampling.probability=1.0
2424
management.endpoints.web.exposure.include=health,jolokia,metrics,prometheus
2525
management.server.port=6543

observation/service2/src/main/resources/application.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
## ---------------------------------------------------------------------------
1717
spring.profiles.active=@spring.profiles.active@
1818
# the name of Camel
19-
camel.springboot.name=service2
19+
camel.main.name=service2
2020
camel.springboot.main-run-controller=true
21-
spring.application.name=service2
21+
spring.application.name=${camel.main.name}
2222
management.tracing.sampling.probability=1.0
2323
management.endpoints.web.exposure.include=health,jolokia,metrics,prometheus
2424
management.server.port=7654

openapi-contract-first/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = CamelPetStore
19+
camel.main.name = CamelPetStore
2020

2121
# application configuration
2222
petName = Tony the tiger

platform-http/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = MyCamel
19+
camel.main.name = MyCamel

pojo/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# give Camel a name
19-
camel.springboot.name = PojoExample
19+
camel.main.name = PojoExample
2020

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

quartz/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# give Camel a name
19-
camel.springboot.name = Quartz-to-Log
19+
camel.main.name = Quartz-to-Log
2020

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

rabbitmq/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = RabbitCamel
19+
camel.main.name = RabbitCamel
2020

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

resilience4j/service1/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name=Service1
19+
camel.main.name=Service1
2020
camel.springboot.main-run-controller=true
2121

2222
# the port number the service will use for accepting incoming HTTP requests

resilience4j/service2/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name=Service2
19+
camel.main.name = Service2
2020
camel.springboot.main-run-controller=true
2121

2222
# the port number the service will use for accepting incoming HTTP requests

rest-cxf-opentelemetry/rest-cxf-otel-even/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = cxf-otel-even
19+
camel.main.name = cxf-otel-even
2020
camel.springboot.main-run-controller=true
2121
service.random.url = http://localhost:8080
2222
#logging.level.org.apache.cxf = TRACE

rest-cxf-opentelemetry/rest-cxf-otel-odd/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = cxf-otel-odd
19+
camel.main.name = cxf-otel-odd
2020
camel.springboot.main-run-controller=true
2121
service.random.url = http://localhost:8080
2222
#logging.level.org.apache.cxf = TRACE

rest-cxf-opentelemetry/rest-cxf-otel-random/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = cxf-otel-random
19+
camel.main.name = cxf-otel-random
2020
camel.springboot.main-run-controller=true
2121
service.random.url = http://localhost:8080
2222
service.even.url = http://localhost:8081

rest-openapi-springdoc/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = MyCamel
19+
camel.main.name = MyCamel
2020

2121
# to reconfigure the camel servlet context-path mapping to use /api/* instead of /camel/*
2222
camel.servlet.mapping.context-path=/api/*

rest-openapi/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = MyCamel
19+
camel.main.name = MyCamel
2020

2121
# to reconfigure the camel servlet context-path mapping to use /api/* instead of /camel/*
2222
camel.servlet.mapping.context-path=/api/*

route-reload/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = ReloadCamel
19+
camel.main.name = ReloadCamel
2020

2121
# turn on route reloading on file changes
2222
camel.springboot.routes-reload-enabled = true

soap-cxf/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = MyCamel
19+
camel.main.name = MyCamel
2020
camel.springboot.main-run-controller=true
2121

2222
# logging.level.root=TRACE

splitter-eip/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = CamelSpringBootSplitter
19+
camel.main.name = CamelSpringBootSplitter
2020

2121
camel.springboot.main-run-controller = true
2222
camel.servlet.mapping.context-path = /api/*

spring-jdbc/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
## limitations under the License.
1616
## ---------------------------------------------------------------------------
1717

18-
camel.springboot.name = MyCamel
18+
camel.main.name = MyCamel
1919
camel.springboot.main-run-controller=true
2020

2121
camel.servlet.mapping.enabled = true

supervising-route-controller/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ management.info.camel.enabled=true
3737
management.info.camel.verbose=true
3838

3939
# the name of Camel
40-
camel.springboot.name = SampleSupervisingRouteController
40+
camel.main.name = SampleSupervisingRouteController
4141

4242
# route controller configuration
4343
camel.springboot.routeControllerSuperviseEnabled = true

tomcat-jdbc/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = MyCamel
19+
camel.main.name = MyCamel
2020

2121
spring.datasource.type=org.apache.tomcat.jdbc.pool.DataSource
2222
// other spring datasource properties

type-converter/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# the name of Camel
2-
camel.springboot.name = CamelCustomConverterExample
2+
camel.main.name = CamelCustomConverterExample
33
camel.springboot.main-run-controller=true
44

55
# required for generated Type Converter Loader - Camel 3.x way

validator/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = SampleCamel
19+
camel.main.name = SampleCamel
2020

2121
# properties used in the Camel route and beans
2222
# --------------------------------------------

xml/src/main/resources/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## ---------------------------------------------------------------------------
1717

1818
# the name of Camel
19-
camel.springboot.name = SampleCamel
19+
camel.main.name = SampleCamel
2020

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

0 commit comments

Comments
 (0)