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

Fix IBM MQ kamelets to use general MQConnectionFactory #922

Merged
merged 1 commit into from
May 11, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kamelets/jms-ibm-mq-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
title: "IBM MQ Server Port"
description: "IBM MQ Server port"
type: integer
example: 1414
default: 1414
destinationType:
title: "Destination Type"
description: "The JMS destination type (queue or topic)"
Expand Down Expand Up @@ -95,7 +95,7 @@ spec:
template:
beans:
- name: wmqConnectionFactory
type: "#class:com.ibm.mq.jms.MQQueueConnectionFactory"
type: "#class:com.ibm.mq.jms.MQConnectionFactory"
property:
- key: XMSC_WMQ_HOST_NAME
value: '{{serverName}}'
Expand Down
4 changes: 2 additions & 2 deletions kamelets/jms-ibm-mq-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
title: "IBM MQ Server Port"
description: "IBM MQ Server port"
type: integer
example: 1414
default: 1414
destinationType:
title: "Destination Type"
description: "The JMS destination type (queue or topic)"
Expand Down Expand Up @@ -95,7 +95,7 @@ spec:
template:
beans:
- name: wmqConnectionFactory
type: "#class:com.ibm.mq.jms.MQQueueConnectionFactory"
type: "#class:com.ibm.mq.jms.MQConnectionFactory"
property:
- key: XMSC_WMQ_HOST_NAME
value: '{{serverName}}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
title: "IBM MQ Server Port"
description: "IBM MQ Server port"
type: integer
example: 1414
default: 1414
destinationType:
title: "Destination Type"
description: "The JMS destination type (queue or topic)"
Expand Down Expand Up @@ -95,7 +95,7 @@ spec:
template:
beans:
- name: wmqConnectionFactory
type: "#class:com.ibm.mq.jms.MQQueueConnectionFactory"
type: "#class:com.ibm.mq.jms.MQConnectionFactory"
property:
- key: XMSC_WMQ_HOST_NAME
value: '{{serverName}}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
title: "IBM MQ Server Port"
description: "IBM MQ Server port"
type: integer
example: 1414
default: 1414
destinationType:
title: "Destination Type"
description: "The JMS destination type (queue or topic)"
Expand Down Expand Up @@ -95,7 +95,7 @@ spec:
template:
beans:
- name: wmqConnectionFactory
type: "#class:com.ibm.mq.jms.MQQueueConnectionFactory"
type: "#class:com.ibm.mq.jms.MQConnectionFactory"
property:
- key: XMSC_WMQ_HOST_NAME
value: '{{serverName}}'
Expand Down
24 changes: 12 additions & 12 deletions templates/bindings/core/jms-ibm-mq-sink-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
parameters:
period: 1000
message: "Hello Camel to IBM MQ"
steps:
- to:
uri: "kamelet:jms-ibm-mq-sink"
parameters:
serverName: "10.103.41.245"
serverPort: "1414"
destinationType: "queue"
destinationName: "DEV.QUEUE.1"
queueManager: QM1
channel: DEV.APP.SVRCONN
username: app
password: passw0rd
steps:
- to:
uri: "kamelet:jms-ibm-mq-sink"
parameters:
serverName: "10.105.157.79"
serverPort: "1414"
destinationType: "queue"
destinationName: "DEV.QUEUE.1"
queueManager: QM1
channel: DEV.APP.SVRCONN
username: app
password: passw0rd
8 changes: 4 additions & 4 deletions templates/bindings/core/jms-ibm-mq-source-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
from:
uri: "kamelet:jms-ibm-mq-source"
parameters:
serverName: "10.103.41.245"
serverName: "10.105.157.79"
serverPort: "1414"
destinationType: "queue"
destinationName: "DEV.QUEUE.1"
queueManager: QM1
channel: DEV.APP.SVRCONN
username: app
password: passw0rd
steps:
- to:
uri: kamelet:log-sink
steps:
- to:
uri: kamelet:log-sink