Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide IBM MQ Sink and Source Kamelets #902

Merged
merged 1 commit into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
122 changes: 122 additions & 0 deletions kamelets/jms-ibm-mq-sink.kamelet.yaml

Large diffs are not rendered by default.

122 changes: 122 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