Skip to content

Instantly share code, notes, and snippets.

@davsclaus
Created March 15, 2023 03:02
Show Gist options
  • Save davsclaus/83b5cfe60a4c1bf4f91f2eeba245167d to your computer and use it in GitHub Desktop.
Save davsclaus/83b5cfe60a4c1bf4f91f2eeba245167d to your computer and use it in GitHub Desktop.
~/workspace/deleteme/tmp ❯ jbang -V
0.104.0
~/workspace/deleteme/tmp ❯ camel -V
3.20.2
~/workspace/deleteme/tmp ❯ camel init first.yaml
~/workspace/deleteme/tmp ❯ camel run *
2023-03-15 04:02:07.608 INFO 90969 --- [ main] org.apache.camel.main.MainSupport : Apache Camel (JBang) 3.20.2 is starting
2023-03-15 04:02:07.716 INFO 90969 --- [ main] org.apache.camel.main.MainSupport : Using Java 17.0.5 with PID 90969. Started by davsclaus in /Users/davsclaus/workspace/deleteme/tmp
2023-03-15 04:02:07.722 INFO 90969 --- [ main] mel.cli.connector.LocalCliConnector : Camel CLI enabled (local)
2023-03-15 04:02:08.120 INFO 90969 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is starting
2023-03-15 04:02:08.199 INFO 90969 --- [ main] el.impl.engine.AbstractCamelContext : Routes startup (started:1)
2023-03-15 04:02:08.200 INFO 90969 --- [ main] el.impl.engine.AbstractCamelContext : Started route1 (timer://yaml)
2023-03-15 04:02:08.200 INFO 90969 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) started in 218ms (build:53ms init:86ms start:79ms JVM-uptime:1s)
2023-03-15 04:02:09.202 INFO 90969 --- [ - timer://yaml] first.yaml:11 : Hello Camel from yaml
^C2023-03-15 04:02:09.809 INFO 90969 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is shutting down (timeout:10s)
2023-03-15 04:02:09.814 INFO 90969 --- [ main] el.impl.engine.AbstractCamelContext : Routes stopped (stopped:1)
2023-03-15 04:02:09.814 INFO 90969 --- [ main] el.impl.engine.AbstractCamelContext : Stopped route1 (timer://yaml)
2023-03-15 04:02:09.816 INFO 90969 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) shutdown in 6ms (uptime:1s JVM-uptime:2s)
2023-03-15 04:02:09.816 INFO 90969 --- [ main] org.apache.camel.main.MainSupport : Apache Camel (JBang) 3.20.2 shutdown
~/workspace/deleteme/tmp ❯ camel run * --camel-version=3.20.1 ✘ INT 3s
2023-03-15 04:02:18.211 INFO 90996 --- [ main] org.apache.camel.main.MainSupport : Apache Camel (JBang) 3.20.1 is starting
2023-03-15 04:02:18.316 INFO 90996 --- [ main] org.apache.camel.main.MainSupport : Using Java 17.0.5 with PID 90996. Started by davsclaus in /Users/davsclaus/workspace/deleteme/tmp
2023-03-15 04:02:18.322 INFO 90996 --- [ main] he.camel.cli.connector.LocalCliConnector : Camel CLI enabled (local)
2023-03-15 04:02:18.701 INFO 90996 --- [ main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.20.1 (first) is starting
2023-03-15 04:02:18.779 INFO 90996 --- [ main] e.camel.impl.engine.AbstractCamelContext : Routes startup (started:1)
2023-03-15 04:02:18.780 INFO 90996 --- [ main] e.camel.impl.engine.AbstractCamelContext : Started route1 (timer://yaml)
2023-03-15 04:02:18.780 INFO 90996 --- [ main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.20.1 (first) started in 209ms (build:51ms init:80ms start:78ms JVM-uptime:0s)
2023-03-15 04:02:19.787 INFO 90996 --- [ - timer://yaml] first.yaml:11 : Hello Camel from yaml
^C2023-03-15 04:02:19.865 INFO 90996 --- [ main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.20.1 (first) is shutting down (timeout:10s)
2023-03-15 04:02:19.868 INFO 90996 --- [ main] e.camel.impl.engine.AbstractCamelContext : Routes stopped (stopped:1)
2023-03-15 04:02:19.868 INFO 90996 --- [ main] e.camel.impl.engine.AbstractCamelContext : Stopped route1 (timer://yaml)
2023-03-15 04:02:19.870 INFO 90996 --- [ main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.20.1 (first) shutdown in 5ms (uptime:1s JVM-uptime:2s)
2023-03-15 04:02:19.870 INFO 90996 --- [ main] org.apache.camel.main.MainSupport : Apache Camel (JBang) 3.20.1 shutdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment