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 2023/10/03 08:22:52 UTC

[camel-kamelets-examples] 01/06: Azure Eventhubs IBM MQ: Use application.properties instead of custom name

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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git

commit a36f66c67de4388fe725158003132463297ed56f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 3 10:01:21 2023 +0200

    Azure Eventhubs IBM MQ: Use application.properties instead of custom name
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 jbang/azure-eventhubs-kafka-ibm-mq/README.adoc      | 10 +++++-----
 jbang/azure-eventhubs-kafka-ibm-mq/azure.properties |  4 ----
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/jbang/azure-eventhubs-kafka-ibm-mq/README.adoc b/jbang/azure-eventhubs-kafka-ibm-mq/README.adoc
index b57923b..fb6f7a8 100644
--- a/jbang/azure-eventhubs-kafka-ibm-mq/README.adoc
+++ b/jbang/azure-eventhubs-kafka-ibm-mq/README.adoc
@@ -56,7 +56,7 @@ Once the configuration end you'll need to obtain the connection string for acces
 az eventhubs eventhub authorization-rule keys list --resource-group example-resources --namespace-name test12345678910 --eventhub-name camel-test --name navi
 ----
 
-Open the file `azure.properties` and copy the primary connection string in both `camel.kamelet.kafka-sink.password` and `camel.kamelet.kafka-source.password`.
+Open the file `application.properties` and copy the primary connection string in both `camel.kamelet.kafka-sink.password` and `camel.kamelet.kafka-source.password`.
 
 === Set up IBM MQ
 
@@ -89,14 +89,14 @@ Then you can run this example using:
 
 [source,sh]
 ----
-$ camel run --properties=azure.properties --local-kamelet-dir=<your-local-kamelets-path> kafka-mq.yaml
+$ camel run --local-kamelet-dir=<your-local-kamelets-path> kafka-mq.yaml
 ----
 
 Or run with JBang using the longer command line (without installing camel as app in JBang):
 
 [source,sh]
 ----
-$ jbang camel@apache/camel run --properties=azure.properties --local-kamelet-dir=<your-local-kamelets-path> kafka-mq.yaml
+$ jbang camel@apache/camel run --local-kamelet-dir=<your-local-kamelets-path> kafka-mq.yaml
 ----
 
 === MQ to log
@@ -121,14 +121,14 @@ You can run the timer to kafka route.
 
 [source,sh]
 ----
-$ camel run --properties=azure.properties --local-kamelet-dir=<your-local-kamelets-path> timer-kafka.yaml
+$ camel run --local-kamelet-dir=<your-local-kamelets-path> timer-kafka.yaml
 ----
 
 Or run with JBang using the longer command line (without installing camel as app in JBang):
 
 [source,sh]
 ----
-$ jbang camel@apache/camel run --properties=azure.properties --local-kamelet-dir=<your-local-kamelets-path> timer-kafka.yaml
+$ jbang camel@apache/camel run --local-kamelet-dir=<your-local-kamelets-path> timer-kafka.yaml
 ----
 
 === Help and contributions
diff --git a/jbang/azure-eventhubs-kafka-ibm-mq/azure.properties b/jbang/azure-eventhubs-kafka-ibm-mq/azure.properties
deleted file mode 100644
index e3e4426..0000000
--- a/jbang/azure-eventhubs-kafka-ibm-mq/azure.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-camel.kamelet.kafka-source.user=$ConnectionString
-camel.kamelet.kafka-source.password=<password>
-camel.kamelet.kafka-sink.user=$ConnectionString
-camel.kamelet.kafka-sink.password=<password>