Hi JB,

a workaround would be great, how can I blacklist the JMS bundle?

By deprecated you mean the activemq-camel implementation from ActiveMQ I guess 
and not the Camel ActiveMQ Component or am I wrong?

Regards
Frank

________________________________
Von: JB Onofré <j...@nanthrax.net>
Gesendet: Mittwoch, 10. November 2021 15:58
An: users@camel.apache.org <users@camel.apache.org>
Betreff: EXT:Re: Trouble installing Camel with Camel-Activemq + Camel-JMS + 
Camel-AMQP in Karaf 4.2.10 and ActiveMQ 5.16.2 ...

By the way, you can use camel-JMS with ActiveMQ as camel-activemq is deprecated.

Regards
JB

> Le 10 nov. 2021 à 15:40, JB Onofré <j...@nanthrax.net> a écrit :
>
> Camel jms force use of JMS 2 whereas activemq only supports jms 1. So we 
> have a conflict. ActiveMQ however works with JMS 2 so we can 
> override/blacklist the JMS 1 bundle.
>
> I’m in the train now but I can provide a workaround.
>
> Regards
> JB
>
>> Le 10 nov. 2021 à 15:34, Zinner, Frank Uwe Alfred 
>> <frank.uwe.alfred.zin...@externe.dfs.de> a écrit :
>>
>> Hello,
>> I'm having trouble to install Apache Camel 3.7.5 with camel-activemq 
>> (3.7.5), camel-jms (3.7.5) and camel-amqp (3.7.5) in Apache Karaf 4.2.10.
>> I used a fresh Karaf 4.2.10 Binary distribution and added ActiveMQ 5.16.2 
>> along with Camel 3.7.5 and was able to install ActiveMQ with Camel Activemq 
>> Component, Camel Jms Component in Karaf.
>> I can also install ActiveMQ 5.16.2 with Camel 3.7.5 and Jms and AMQP but 
>> without Camel Activemq-Component. So currently it's not possible for me to 
>> install both - camel-activemq together with camel-amqp.
>> The karaf-console is not responding and turning the karaf log from info to 
>> debug reveals that Karaf is cycling through issues:
>>
>> Excerpt from the karaf.log:
>>
>> 2021-11-10T14:25:40,746 | DEBUG | features-3-thread-1 | ResolverImpl         
>>             | 11 - org.apache.karaf.features.core - 4.2.10 | Candidate 
>> permutation failed due to a conflict between imports; will try another if 
>> possible. (Uses constraint violation. Unable to resolve resource 
>> org.apache.camel.camel-amqp [org.apache.camel.camel-amqp/3.7.5] because it 
>> is exposed to package 'javax.jms' from resources 
>> org.apache.geronimo.specs.geronimo-jms_2.0_spec 
>> [org.apache.geronimo.specs.geronimo-jms_2.0_spec/1.0.0.alpha-2] and 
>> org.apache.geronimo.specs.geronimo-jms_1.1_spec 
>> [org.apache.geronimo.specs.geronimo-jms_1.1_spec/1.1.1] via two dependency 
>> chains.
>>
>> Chain 1:
>> org.apache.camel.camel-amqp [org.apache.camel.camel-amqp/3.7.5]
>>   import: 
>> (&(osgi.wiring.package=javax.jms)(version>=1.1.0)(!(version>=3.0.0)))
>>    |
>>   export: osgi.wiring.package: javax.jms
>> org.apache.geronimo.specs.geronimo-jms_2.0_spec 
>> [org.apache.geronimo.specs.geronimo-jms_2.0_spec/1.0.0.alpha-2]
>>
>> Chain 2:
>> org.apache.camel.camel-amqp [org.apache.camel.camel-amqp/3.7.5]
>>   import: 
>> (&(osgi.wiring.package=org.apache.camel.component.jms)(version>=3.7.0)(!(version>=4.0.0)))
>>    |
>>   export: osgi.wiring.package=org.apache.camel.component.jms; uses:=javax.jms
>> org.apache.camel.camel-jms [org.apache.camel.camel-jms/3.7.5]
>>   import: 
>> (&(osgi.wiring.package=javax.jms)(version>=1.1.0)(!(version>=3.0.0)))
>>    |
>>   export: osgi.wiring.package: javax.jms
>> org.apache.geronimo.specs.geronimo-jms_1.1_spec 
>> [org.apache.geronimo.specs.geronimo-jms_1.1_spec/1.1.1])
>> 2021-11-10T14:25:40,766 | DEBUG | features-3-thread-1 | ResolverImpl         
>>             | 11 - org.apache.karaf.features.core - 4.2.10 | Candidate 
>> permutation failed due to a conflict between imports; will try another if 
>> possible. (Uses constraint violation. Unable to resolve resource 
>> org.apache.camel.camel-amqp [org.apache.camel.camel-amqp/3.7.5] because it 
>> is exposed to package 'javax.jms' from resources 
>> org.apache.geronimo.specs.geronimo-jms_1.1_spec 
>> [org.apache.geronimo.specs.geronimo-jms_1.1_spec/1.1.1] and 
>> org.apache.geronimo.specs.geronimo-jms_2.0_spec 
>> [org.apache.geronimo.specs.geronimo-jms_2.0_spec/1.0.0.alpha-2] via two 
>> dependency chains.
>>
>> Chain 1:
>> org.apache.camel.camel-amqp [org.apache.camel.camel-amqp/3.7.5]
>>   import: 
>> (&(osgi.wiring.package=javax.jms)(version>=1.1.0)(!(version>=3.0.0)))
>>    |
>>   export: osgi.wiring.package: javax.jms
>> org.apache.geronimo.specs.geronimo-jms_1.1_spec 
>> [org.apache.geronimo.specs.geronimo-jms_1.1_spec/1.1.1]
>>
>> Chain 2:
>> org.apache.camel.camel-amqp [org.apache.camel.camel-amqp/3.7.5]
>>   import: 
>> (&(osgi.wiring.package=org.apache.qpid.jms)(version>=0.55.0)(!(version>=1.0.0)))
>>    |
>>   export: osgi.wiring.package=org.apache.qpid.jms; uses:=javax.jms
>> org.apache.qpid.jms.client [org.apache.qpid.jms.client/0.55.0]
>>   import: 
>> (&(osgi.wiring.package=javax.jms)(version>=2.0.0)(!(version>=3.0.0)))
>>    |
>>   export: osgi.wiring.package: javax.jms
>> org.apache.geronimo.specs.geronimo-jms_2.0_spec 
>> [org.apache.geronimo.specs.geronimo-jms_2.0_spec/1.0.0.alpha-2])
>>
>> Don't know what to do to get this work.
>>
>> If someone can give me a hint please?
>>
>> Cheers
>> Frank Zinner
>>
>>
>> DFS Deutsche Flugsicherung GmbH * Am DFS-Campus * 63225 Langen * Tel.: +49 
>> 6103 707-0 * Sitz der Gesellschaft: Langen/Hessen * Zuständiges 
>> Registergericht: AG Offenbach am Main, HRB 34977 * Vorsitzende des 
>> Aufsichtsrats: Antje Geese * Geschäftsführer: Arndt Schoenemann (Vors.), Dr. 
>> Kerstin Böcker, Dirk Mahns, Friedrich-Wilhelm Menge * 
>> www.dfs.de<http://www.dfs.de>
>>
>> Sollten Sie nicht der richtige Empfänger dieser E-Mail sein, löschen Sie 
>> diese bitte.


DFS Deutsche Flugsicherung GmbH • Am DFS-Campus • 63225 Langen • Tel.: +49 6103 
707-0 • Sitz der Gesellschaft: Langen/Hessen • Zuständiges Registergericht: AG 
Offenbach am Main, HRB 34977 • Vorsitzende des Aufsichtsrats: Antje Geese • 
Geschäftsführer: Arndt Schoenemann (Vors.), Dr. Kerstin Böcker, Dirk Mahns, 
Friedrich-Wilhelm Menge • www.dfs.de<http://www.dfs.de>

Sollten Sie nicht der richtige Empfänger dieser E-Mail sein, löschen Sie diese 
bitte.

Reply via email to