이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 42. JMS - IBM MQ Source
A Kamelet that can read events from an IBM MQ message queue using JMS.
In your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec→integration→dependencies:
42.1. Configuration Options 링크 복사링크가 클립보드에 복사되었습니다!
The following table summarizes the configuration options available for the jms-ibm-mq-source Kamelet:
| Property | Name | Description | Type | Default | Example |
|---|---|---|---|---|---|
| channel * | IBM MQ Channel | Name of the IBM MQ Channel. | string | ||
| destinationName * | Destination Name | The destination name. | string | ||
| password * | Password | Password to authenticate to IBM MQ server. | string | ||
| queueManager * | IBM MQ Queue Manager | Name of the IBM MQ Queue Manager. | string | ||
| serverName * | IBM MQ Server name | IBM MQ Server name or address. | string | ||
| serverPort * | IBM MQ Server Port | IBM MQ Server port. | integer | 1414 | |
| username * | Username | Username to authenticate to IBM MQ server. | string | ||
| clientId | IBM MQ Client ID | Name of the IBM MQ Client ID. | string | ||
| destinationType | Destination Type | The JMS destination type (queue or topic). | string | queue | |
| sslCipherSuite | CipherSuite | CipherSuite to use for enabling TLS. | string |
* = Fields marked with an asterisk are mandatory.
42.2. Dependencies 링크 복사링크가 클립보드에 복사되었습니다!
42.2.1. Quarkus dependencies 링크 복사링크가 클립보드에 복사되었습니다!
42.3. Usage 링크 복사링크가 클립보드에 복사되었습니다!
42.3.1. Camel JBang usage 링크 복사링크가 클립보드에 복사되었습니다!
42.3.1.1. Prerequisites for JBang 링크 복사링크가 클립보드에 복사되었습니다!
- Install JBang.
You have executed the following command:
jbang app install camel@apache/camel
jbang app install camel@apache/camelCopy to Clipboard Copied! Toggle word wrap Toggle overflow
42.3.1.2. Running a route with JBang 링크 복사링크가 클립보드에 복사되었습니다!
Suppose you have a file named route.yaml with this content:
You can now run it directly through the following command.
camel run route.yaml
camel run route.yaml
42.3.2. Knative Source 링크 복사링크가 클립보드에 복사되었습니다!
You can use the jms-ibm-mq-source Kamelet as a Knative source by binding it to a Knative object.
jms-ibm-mq-source-binding.yaml
42.3.3. Kafka Source 링크 복사링크가 클립보드에 복사되었습니다!
You can use the jms-ibm-mq-source Kamelet as a Kafka source by binding it to a Kafka topic.
jms-ibm-mq-source-binding.yaml