You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/05/18 21:08:40 UTC

[camel] branch camel-3.x updated: CAMEL-19339: Fix camel-activemq did not work in Apache Karaf

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.x by this push:
     new b66591c1549 CAMEL-19339: Fix camel-activemq did not work in Apache Karaf
b66591c1549 is described below

commit b66591c15490517e19e5530fa669a5918ef8cc24
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu May 18 23:08:11 2023 +0200

    CAMEL-19339: Fix camel-activemq did not work in Apache Karaf
---
 components/camel-activemq/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/components/camel-activemq/pom.xml b/components/camel-activemq/pom.xml
index 8d6bd4395b2..4f311725cb2 100644
--- a/components/camel-activemq/pom.xml
+++ b/components/camel-activemq/pom.xml
@@ -33,6 +33,10 @@
     <description>ActiveMQ component for Camel</description>
 
     <properties>
+        <camel.osgi.import.before.defaults>
+            javax.jms;version="[1.1,2)",
+            org.apache.activemq.pool;version="[5.17,6)"
+        </camel.osgi.import.before.defaults>
         <camel.surefire.parallel>true</camel.surefire.parallel>
     </properties>
 
@@ -45,6 +49,11 @@
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
         </dependency>
+        <!-- ActiveMQ is JMS 1.1 spec only -->
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jms_1.1_spec</artifactId>
+        </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-jms</artifactId>