You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/10/13 18:13:54 UTC

[camel-kafka-connector] branch master updated: JMS example: Added missing steps

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


The following commit(s) were added to refs/heads/master by this push:
     new ff38072  JMS example: Added missing steps
ff38072 is described below

commit ff3807222eb4876913a731ffb40cc2dfa4035d3f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 13 20:11:28 2020 +0200

    JMS example: Added missing steps
---
 docs/modules/ROOT/pages/try-it-out-locally.adoc | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/docs/modules/ROOT/pages/try-it-out-locally.adoc b/docs/modules/ROOT/pages/try-it-out-locally.adoc
index 587a0ff..0ab5677 100644
--- a/docs/modules/ROOT/pages/try-it-out-locally.adoc
+++ b/docs/modules/ROOT/pages/try-it-out-locally.adoc
@@ -408,6 +408,18 @@ First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive i
 > unzip camel-sjsm2-kafka-connector-0.3.0-SNAPSHOT-package.zip
 ----
 
+These are the basic connectors. For camel-sjms2 we have a bunch of provided dependencies we need to add in our path, so run the following commands:
+
+[source,bash]
+----
+> cd /home/connectors/camel-sjms2-kafka-connector
+> wget https://repo1.maven.org/maven2/org/apache/activemq/activemq-client/5.15.11/activemq-client-5.15.11.jar
+> wget https://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jms_2.0_spec/1.0-alpha-2/geronimo-jms_2.0_spec-1.0-alpha-2.jar
+> wget https://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.1.1/geronimo-annotation_1.0_spec-1.1.1.jar
+> wget https://repo1.maven.org/maven2/javax/management/j2ee/management-api/1.1-rev-1/management-api-1.1-rev-1.jar
+> wget https://repo1.maven.org/maven2/org/fusesource/hawtbuf/hawtbuf/1.11/hawtbuf-1.11.jar
+```
+
 This example receives messages from a JMS queue named `myqueue` and transfers them to `mytopic` Kafka topic. In this example ActiveMQ is used and it's configured to connect to the broker running on `localhost:61616`. Adjust properties in `examples/CamelJmsSourceConnector.properties` for your environment, for example configuring username and password by setting `camel.component.sjms2.connection-factory.userName=yourusername` and `camel.component.sjms2.connection-factory.password=yourpassw [...]
 
 .Run the JMS source: