Skip to content

Commit

Permalink
Provide IBM MQ Sink and Source Kamelets
Browse files Browse the repository at this point in the history
Fix #901
  • Loading branch information
claudio4j committed Apr 29, 2022
1 parent dab356d commit 0a2411a
Show file tree
Hide file tree
Showing 9 changed files with 580 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
* xref:jms-apache-activemq-source.adoc[]
* xref:jms-apache-artemis-sink.adoc[]
* xref:jms-apache-artemis-source.adoc[]
* xref:jms-ibm-mq-sink.adoc[]
* xref:jms-ibm-mq-source.adoc[]
* xref:jolt-transformation-action.adoc[]
* xref:jslt-action.adoc[]
* xref:json-deserialize-action.adoc[]
Expand Down
124 changes: 124 additions & 0 deletions kamelets/jms-ibm-mq-sink.kamelet.yaml

Large diffs are not rendered by default.

124 changes: 124 additions & 0 deletions kamelets/jms-ibm-mq-source.kamelet.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions templates/bindings/camel-k/jms-ibm-mq-sink-binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# example_for_kamelet_doc
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: jms-ibm-mq-sink-binding
spec:
source:
ref:
kind: KafkaTopic
apiVersion: kafka.strimzi.io/v1beta1
name: my-topic
sink:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: jms-ibm-mq-sink
properties:
host: "10.103.41.245"
port: "1414"
destinationType: "queue"
destinationName: "DEV.QUEUE.1"
queueManager: QM1
channel: DEV.APP.SVRCONN
username: app
password: passw0rd
26 changes: 26 additions & 0 deletions templates/bindings/camel-k/jms-ibm-mq-source-binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# example_for_kamelet_doc
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: jms-ibm-mq-source-binding
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: jms-ibm-mq-source
properties:
host: "10.103.41.245"
port: "1414"
destinationType: "queue"
destinationName: "DEV.QUEUE.1"
queueManager: QM1
channel: DEV.APP.SVRCONN
username: app
password: passw0rd
sink:
ref:
kind: KafkaTopic
apiVersion: kafka.strimzi.io/v1beta1
name: my-topic

18 changes: 18 additions & 0 deletions templates/bindings/core/jms-ibm-mq-sink-binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- route:
from:
uri: "kamelet:timer-source"
parameters:
period: 1000
message: "Hello Camel to IBM MQ"
steps:
- to:
uri: "kamelet:jms-ibm-mq-sink"
parameters:
host: "10.103.41.245"
port: "1414"
destinationType: "queue"
destinationName: "DEV.QUEUE.1"
queueManager: QM1
channel: DEV.APP.SVRCONN
username: app
password: passw0rd
15 changes: 15 additions & 0 deletions templates/bindings/core/jms-ibm-mq-source-binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- route:
from:
uri: "kamelet:jms-ibm-mq-source"
parameters:
host: "10.103.41.245"
port: "1414"
destinationType: "queue"
destinationName: "DEV.QUEUE.1"
queueManager: QM1
channel: DEV.APP.SVRCONN
username: app
password: passw0rd
steps:
- to:
uri: kamelet:log-sink

0 comments on commit 0a2411a

Please sign in to comment.