This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push: new fac0ed9 How to run via docker fac0ed9 is described below commit fac0ed9a87daebcf5d350987dcd28143cfb7eaa1 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu May 23 12:54:18 2024 +0200 How to run via docker --- jbang/artemis/README.adoc | 10 ++++++++++ jbang/artemis/application.properties | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/jbang/artemis/README.adoc b/jbang/artemis/README.adoc index d2e5e6b..6824ff9 100644 --- a/jbang/artemis/README.adoc +++ b/jbang/artemis/README.adoc @@ -8,6 +8,16 @@ messaging broker. 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 +---- + +This will run the broker locally. To login you need to use `artemis` as username and password, +in the `application.properties` file. + === Install JBang diff --git a/jbang/artemis/application.properties b/jbang/artemis/application.properties index 3d9bb74..73cdd56 100644 --- a/jbang/artemis/application.properties +++ b/jbang/artemis/application.properties @@ -4,8 +4,8 @@ camel.beans.artemisCF = #class:org.apache.activemq.artemis.jms.client.ActiveMQCo camel.beans.artemisCF.brokerURL = tcp://localhost:61616 # if broker requires specific login -#camel.beans.artemisCF.user = admin -#camel.beans.artemisCF.password = admin +camel.beans.artemisCF.user = artemis +camel.beans.artemisCF.password = artemis # pooled connection factory camel.beans.poolCF = #class:org.messaginghub.pooled.jms.JmsPoolConnectionFactory