Skip to content

Commit

Permalink
fix(kamelet): Replace QPID client with camel-amqp component in jms-am…
Browse files Browse the repository at this point in the history
…qp kamelets

* The client qpid does not works in native mode (stacktrace log `Caused by: java.lang.ClassNotFoundException: org.apache.qpid.jms.JmsConnectionFactory`)
* the camel-amqp component is designed for this case : supporting the AMQP 1.0 protocol through the JMS QPID Client.
  • Loading branch information
gansheer authored and oscerd committed Mar 16, 2023
1 parent 8b56546 commit 3f672cf
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion kamelets/jms-amqp-10-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ spec:
example: "amqp://my-host:31616"
dependencies:
- "camel:jms"
- "camel:amqp"
- "camel:kamelet"
- "mvn:org.apache.qpid:qpid-jms-client:1.0.0"
template:
beans:
- name: connectionFactoryBean
Expand Down
2 changes: 1 addition & 1 deletion kamelets/jms-amqp-10-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ spec:
example: "amqp://my-host:31616"
dependencies:
- "camel:jms"
- "camel:amqp"
- "camel:kamelet"
- "mvn:org.apache.qpid:qpid-jms-client:1.0.0"
template:
beans:
- name: connectionFactoryBean
Expand Down
5 changes: 0 additions & 5 deletions library/camel-kamelets-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@
<artifactId>redshift-jdbc42</artifactId>
<version>${version.com.amazon.redshift.redshift-jdbc42}</version>
</dependency>
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-jms-client</artifactId>
<version>${version.org.apache.qpid.qpid-jms-client}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-jms-client-all</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ spec:
example: "amqp://my-host:31616"
dependencies:
- "camel:jms"
- "camel:amqp"
- "camel:kamelet"
- "mvn:org.apache.qpid:qpid-jms-client:1.0.0"
template:
beans:
- name: connectionFactoryBean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ spec:
example: "amqp://my-host:31616"
dependencies:
- "camel:jms"
- "camel:amqp"
- "camel:kamelet"
- "mvn:org.apache.qpid:qpid-jms-client:1.0.0"
template:
beans:
- name: connectionFactoryBean
Expand Down
2 changes: 0 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
<!-- These properties must keep this same format "version.<groupId>.<artifactId>" -->
<version.org.apache.commons.commons-dbcp2>2.9.0</version.org.apache.commons.commons-dbcp2>
<version.com.amazon.redshift.redshift-jdbc42>2.1.0.12</version.com.amazon.redshift.redshift-jdbc42>
<version.org.apache.qpid.qpid-jms-client>1.0.0</version.org.apache.qpid.qpid-jms-client>
<version.org.apache.activemq.artemis-jms-client-all>2.28.0</version.org.apache.activemq.artemis-jms-client-all>
<version.org.postgresql.postgresql>42.5.4</version.org.postgresql.postgresql>
</properties>
Expand Down Expand Up @@ -315,7 +314,6 @@
new UpdateDepsVersionKamelets().updateKameletDirectory("./kamelets/", [
"version.org.apache.commons.commons-dbcp2": "${version.org.apache.commons.commons-dbcp2}",
"version.com.amazon.redshift.redshift-jdbc42": "${version.com.amazon.redshift.redshift-jdbc42}",
"version.org.apache.qpid.qpid-jms-client": "${version.org.apache.qpid.qpid-jms-client}",
"version.org.apache.activemq.artemis-jms-client-all": "${version.org.apache.activemq.artemis-jms-client-all}",
"version.org.postgresql.postgresql": "${version.org.postgresql.postgresql}"
])
Expand Down

0 comments on commit 3f672cf

Please sign in to comment.