インテグレーション DSL ファイルの内容を編集し、変更を保存します。ターミナルで変更が即座に表示されることを確認します。以下に例を示します。
...
integration "hello-camel-k" updated
...
[2] 2021-08-11 18:40:54,173 INFO [org.apa.cam.k.Runtime] (main) Apache Camel K Runtime 1.7.1.fuse-800025-redhat-00001
[2] 2021-08-11 18:40:54,209 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
[2] 2021-08-11 18:40:54,301 INFO [org.apa.cam.k.lis.SourcesConfigurer] (main) Loading routes from: SourceDefinition{name='HelloCamelK', language='java', location='file:/etc/camel/sources/HelloCamelK.java', }
[2] 2021-08-11 18:40:55,796 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes startup summary (total:1 started:1)
[2] 2021-08-11 18:40:55,796 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started java (timer://java)
[2] 2021-08-11 18:40:55,797 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.10.0.fuse-800010-redhat-00001 (camel-1) started in 174ms (build:0ms init:147ms start:27ms)
[2] 2021-08-11 18:40:55,803 INFO [io.quarkus] (main) camel-k-integration 1.6.6 on JVM (powered by Quarkus 1.11.7.Final-redhat-00009) started in 3.025s.
[2] 2021-08-11 18:40:55,808 INFO [io.quarkus] (main) Profile prod activated.
[2] 2021-08-11 18:40:55,809 INFO [io.quarkus] (main) Installed features: [camel-bean, camel-core, camel-java-joor-dsl, camel-k-core, camel-k-runtime, camel-log, camel-support-common, camel-timer, cdi]
[2] 2021-08-11 18:40:56,810 INFO [info] (Camel (camel-1) thread #0 - timer://java) Exchange[ExchangePattern: InOnly, BodyType: String, Body: Hello Camel K from java]
[2] 2021-08-11 18:40:57,793 INFO [info] (Camel (camel-1) thread #0 - timer://java) Exchange[ExchangePattern: InOnly, BodyType: String, Body: Hello Camel K from java]
...
.. .
integration "hello-camel-k" updated
.. .
[ 2 ] 2021 -08-11 18 :40:54,173 INFO [ org.apa.cam.k.Runtime] ( main) Apache Camel K Runtime 1.7 .1.fuse-800025-redhat-00001
[ 2 ] 2021 -08-11 18 :40:54,209 INFO [ org.apa.cam.qua.cor.CamelBootstrapRecorder] ( main) bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
[ 2 ] 2021 -08-11 18 :40:54,301 INFO [ org.apa.cam.k.lis.SourcesConfigurer] ( main) Loading routes from: SourceDefinition{ name= 'HelloCamelK' , language = 'java' , location = 'file:/etc/camel/sources/HelloCamelK.java' , }
[ 2 ] 2021 -08-11 18 :40:55,796 INFO [ org.apa.cam.imp.eng.AbstractCamelContext] ( main) Routes startup summary ( total:1 started:1)
[ 2 ] 2021 -08-11 18 :40:55,796 INFO [ org.apa.cam.imp.eng.AbstractCamelContext] ( main) Started java ( timer://java)
[ 2 ] 2021 -08-11 18 :40:55,797 INFO [ org.apa.cam.imp.eng.AbstractCamelContext] ( main) Apache Camel 3.10 .0.fuse-800010-redhat-00001 ( camel-1) started in 174ms ( build:0ms init:147ms start:27ms)
[ 2 ] 2021 -08-11 18 :40:55,803 INFO [ io.quarkus] ( main) camel-k-integration 1.6 .6 on JVM ( powered by Quarkus 1.11 .7.Final-redhat-00009) started in 3 .025s.
[ 2 ] 2021 -08-11 18 :40:55,808 INFO [ io.quarkus] ( main) Profile prod activated.
[ 2 ] 2021 -08-11 18 :40:55,809 INFO [ io.quarkus] ( main) Installed features: [ camel-bean, camel-core, camel-java-joor-dsl, camel-k-core, camel-k-runtime, camel-log, camel-support-common, camel-timer, cdi]
[ 2 ] 2021 -08-11 18 :40:56,810 INFO [ info] ( Camel ( camel-1) thread
[ 2 ] 2021 -08-11 18 :40:57,793 INFO [ info] ( Camel ( camel-1) thread
.. .
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow