You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2024/05/01 07:00:09 UTC
[I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
davsclaus opened a new issue, #6057:
URL: https://github.com/apache/camel-quarkus/issues/6057
### Describe the feature here
In Camel 4.6 you can now run directly on Quarkus via
camel init Foo.java
camel run Foo.java --runtime=quarkus
And then you can see stats via
camel get
But the output does not show that the platform is Quarkus and also when you stop via
camel stop
Then Camel does not stop Quarkus fully.
Here is how this is integrated with Spring Boot
https://github.com/apache/camel-spring-boot/tree/main/dsl-starter/camel-cli-connector-starter/src/main/java/org/apache/camel/springboot/cli/connector
We need to enhance this on CEQ to make it similar to CSB.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #6057:
URL: https://github.com/apache/camel-quarkus/issues/6057#issuecomment-2088066730
See also this video
https://www.youtube.com/watch?v=nGizLUHpxJ4&t=180s
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #6057:
URL: https://github.com/apache/camel-quarkus/issues/6057#issuecomment-2088611442
Thanks James
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #6057:
URL: https://github.com/apache/camel-quarkus/issues/6057#issuecomment-2088068616
@jamesnetherton would be good to look at this for upcoming CEQ release.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #6057: cli-connector extension - Make Quarkus first class integrated with jbang
URL: https://github.com/apache/camel-quarkus/issues/6057
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #6057:
URL: https://github.com/apache/camel-quarkus/issues/6057#issuecomment-2088240478
@davsclaus can you give me a hint on how to test this with SNAPSHOTs?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #6057:
URL: https://github.com/apache/camel-quarkus/issues/6057#issuecomment-2088243657
you need to run camel-quarkus with the SNAPSHOT version of Camel which has your fix (camel-cli-connector extension).
the camel-jbang you can use the 4.5.0 released version as CLI
So if you have a SNAPSHOT build of Quarkus that uses a SNAPSHOT of Camel Quarkus that has your fix then its something ala:
camel run Foo.java --runtime=quarkus --quarkus-version=999-SNAPSHOT
camel get
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #6057:
URL: https://github.com/apache/camel-quarkus/issues/6057#issuecomment-2088479175
BTW I don't think `VersionHelper.compare` likes `-SNAPSHOT` in the version, so I had to hack my way around that to get things running.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #6057:
URL: https://github.com/apache/camel-quarkus/issues/6057#issuecomment-2088477994
Created a PR https://github.com/apache/camel-quarkus/pull/6059.
Here's the output from `camel run`:
```
Running using Quarkus v999-SNAPSHOT (preparing and downloading files)
Listening for transport dt_socket at address: 5005
__ ____ __ _____ ___ __ ____ ______
--/ __ \/ / / / _ | / _ \/ //_/ / / / __/
-/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
2024-05-01 14:22:12,504 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] (Quarkus Main Thread) Bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
2024-05-01 14:22:12,506 INFO [org.apa.cam.mai.MainSupport] (Quarkus Main Thread) Apache Camel (Main) 4.6.0-SNAPSHOT is starting
2024-05-01 14:22:12,530 INFO [org.apa.cam.cli.con.LocalCliConnector] (Quarkus Main Thread) Camel JBang CLI enabled
2024-05-01 14:22:12,559 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Quarkus Main Thread) Apache Camel 4.6.0-SNAPSHOT (camel-1) is starting
2024-05-01 14:22:12,604 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Quarkus Main Thread) Routes startup (total:1)
2024-05-01 14:22:12,604 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Quarkus Main Thread) Started route1 (timer://java)
2024-05-01 14:22:12,604 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Quarkus Main Thread) Apache Camel 4.6.0-SNAPSHOT (camel-1) started in 44ms (build:0ms init:0ms start:44ms)
2024-05-01 14:22:12,647 INFO [io.quarkus] (Quarkus Main Thread) jbang-run-dummy 1.0-SNAPSHOT on JVM (powered by Quarkus 3.10.0) started in 1.240s. Listening on: http://localhost:8080
2024-05-01 14:22:12,647 INFO [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2024-05-01 14:22:12,648 INFO [io.quarkus] (Quarkus Main Thread) Installed features: [camel-attachments, camel-cli-connector, camel-console, camel-core, camel-management, camel-microprofile-health, camel-platform-http, camel-rest, camel-rest-openapi, camel-timer, camel-xml-io-dsl, camel-xml-jaxb, cdi, smallrye-context-propagation, smallrye-health, vertx]
2024-05-01 14:22:13,613 INFO [route1] (Camel (camel-1) thread #2 - timer://java) Hello Camel from route1
2024-05-01 14:22:14,614 INFO [route1] (Camel (camel-1) thread #2 - timer://java) Hello Camel from route1
2024-05-01 14:22:15,619 INFO [route1] (Camel (camel-1) thread #2 - timer://java) Hello Camel from route1
2024-05-01 14:22:15,970 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Shutdown thread) Apache Camel 4.6.0-SNAPSHOT (camel-1) is shutting down
2024-05-01 14:22:15,973 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Shutdown thread) Routes stopped (total:1)
2024-05-01 14:22:15,974 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Shutdown thread) Stopped route1 (timer://java)
2024-05-01 14:22:15,978 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Shutdown thread) Apache Camel 4.6.0-SNAPSHOT (camel-1) shutdown in 8ms (uptime:3s)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #6057:
URL: https://github.com/apache/camel-quarkus/issues/6057#issuecomment-2104239050
Done in https://github.com/apache/camel-quarkus/commit/65acc966edf863c91bffd896ffc58fff01f16284.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cli-connector extension - Make Quarkus first class integrated with jbang [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #6057:
URL: https://github.com/apache/camel-quarkus/issues/6057#issuecomment-2088070652
I'll try to take a look at it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org