You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "rnetuka (via GitHub)" <gi...@apache.org> on 2025/08/18 12:42:52 UTC
[PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
rnetuka opened a new pull request, #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34
Issue: https://issues.apache.org/jira/browse/CAMEL-21426
Taken from https://github.com/apache/camel-kamelets-examples
- **app-routes** removed from selection as it is mostly the same as app-routes-beans
- **app-routes-beans** copied with minor changes
- **artemis** copied, no changes needed
--
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: [PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
Posted by "rnetuka (via GitHub)" <gi...@apache.org>.
rnetuka commented on code in PR #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34#discussion_r2352288715
##########
sql/sql.camel.yaml:
##########
@@ -0,0 +1,20 @@
+- route:
Review Comment:
There has to be a datasource for Camel SB. Not sure about Quarkus.
--
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: [PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
Posted by "cfitzw (via GitHub)" <gi...@apache.org>.
cfitzw commented on code in PR #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34#discussion_r2352560445
##########
sql/sql.camel.yaml:
##########
@@ -0,0 +1,20 @@
+- route:
Review Comment:
Is there a way to make 'application.properties' be runtime agnostic with regard to the data source connection properties?
Otherwise, adding in some commented out lines for what the equivalent is for quarkus would be very helpful.
--
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: [PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
Posted by "cfitzw (via GitHub)" <gi...@apache.org>.
cfitzw commented on code in PR #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34#discussion_r2352560445
##########
sql/sql.camel.yaml:
##########
@@ -0,0 +1,20 @@
+- route:
Review Comment:
Is there a way to make 'application.properties' be runtime agnostic with regard to the data source connection?
Otherwise, adding in some commented out lines for what the quiet is for quarkus would be very helpful.
--
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: [PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34
--
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: [PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on code in PR #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34#discussion_r2352673840
##########
sql/sql.camel.yaml:
##########
@@ -0,0 +1,20 @@
+- route:
Review Comment:
You can add both as quarkus has a quarkus.xxx style.
But the point is not so much about SB vs Q but to show Camel can do with SQL.
--
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: [PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on code in PR #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34#discussion_r2352211692
##########
sql/sql.camel.yaml:
##########
@@ -0,0 +1,20 @@
+- route:
Review Comment:
Does it work with plain camel? what about quarkus export?
--
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: [PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on code in PR #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34#discussion_r2297728352
##########
artemis/README.adoc:
##########
@@ -0,0 +1,80 @@
+== Apache ActiveMQ Artemis
+
+This example shows how to setup connection factory to a remote Apache ActiveMQ Artemis
+messaging broker.
+
+=== Apache ActiveMQ Artemis
+
+You first need to have an ActiveMQ Artemis broker up and running.
+See more at: https://activemq.apache.org/components/artemis/
+
+You can run Artemis using Docker via
+
+[source,sh]
+----
+$ docker run --detach --name mycontainer -p 61616:61616 -p 8161:8161 --rm apache/activemq-artemis:latest-alpine
Review Comment:
What about using `camel infra run` when possible? In this case, `camel infra run artemis`
@davsclaus @oscerd wdyt?
--
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: [PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on code in PR #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34#discussion_r2297735737
##########
artemis/README.adoc:
##########
@@ -0,0 +1,80 @@
+== Apache ActiveMQ Artemis
+
+This example shows how to setup connection factory to a remote Apache ActiveMQ Artemis
+messaging broker.
+
+=== Apache ActiveMQ Artemis
+
+You first need to have an ActiveMQ Artemis broker up and running.
+See more at: https://activemq.apache.org/components/artemis/
+
+You can run Artemis using Docker via
+
+[source,sh]
+----
+$ docker run --detach --name mycontainer -p 61616:61616 -p 8161:8161 --rm apache/activemq-artemis:latest-alpine
Review Comment:
Yes that is a good idea
--
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: [PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on code in PR #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34#discussion_r2333516879
##########
sql/README.adoc:
##########
@@ -0,0 +1,70 @@
+== SQL
+
+This example shows how to use a SQL database with Camel.
+
+The example comes with a `docker compose` file for running a local Postgres database.
+There is also a `application.properties` configuration file that setup
+a JDBC `DataSource` for connecting to the database.
+
+=== Install JBang
+
+First install JBang according to https://www.jbang.dev
+
+When JBang is installed then you should be able to run from a shell:
+
+[source,sh]
+----
+$ jbang --version
+----
+
+This will output the version of JBang.
+
+To run this example you can either install Camel on JBang via:
+
+[source,sh]
+----
+$ jbang app install camel@apache/camel
+----
+
+Which allows to run CamelJBang with `camel` as shown below.
+
+=== How to run
+
+Then run the Postgres database using Docker:
+
+[source,sh]
+----
+$ docker compose up
Review Comment:
`camel infra run postgres` should be used
--
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: [PR] [CAMEL-21426] camel-jbang-examples [camel-jbang-examples]
Posted by "rnetuka (via GitHub)" <gi...@apache.org>.
rnetuka commented on code in PR #34:
URL: https://github.com/apache/camel-jbang-examples/pull/34#discussion_r2352288715
##########
sql/sql.camel.yaml:
##########
@@ -0,0 +1,20 @@
+- route:
Review Comment:
I'll have to add a datasource for Quarkus.
--
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