Hi Gerald, Let me prepare/update Karaf 4.3.0-SNAPSHOT examples with Camel 3.0.0.
I keep you posted. Regards JB On 06/01/2020 13:39, Gerald Kallas wrote: > Thanks JB. > > @Camel folks, any comments on this question from JB? > > Thanks > - Gerald > >> Jean-Baptiste Onofré <j...@nanthrax.net> hat am 6. Januar 2020 um 13:15 >> geschrieben: >> >> >> Hi Gerald, >> >> That's probably because camel-jms comes with JMS 2.0 whereas ActiveMQ is >> still JMS 1.0. >> >> You have to check if you have both JMS version in there. >> >> Regards >> JB >> >> On 06/01/2020 13:12, Gerald Kallas wrote: >>> Thanks, JB. >>> >>> I tried these commands .. >>> >>> karaf@root()> feature:repo-add hawtio 2.8.0 >>> Adding feature url mvn:io.hawt/hawtio-karaf/2.8.0/xml/features >>> karaf@root()> feature:repo-add activemq 5.15.11 >>> Adding feature url >>> mvn:org.apache.activemq/activemq-karaf/5.15.11/xml/features >>> karaf@root()> feature:repo-add camel 3.0.0 >>> Adding feature url >>> mvn:org.apache.camel.karaf/apache-camel/3.0.0/xml/features >>> karaf@root()> feature:install webconsole hawtio activemq-broker >>> pax-jms-config pax-jms-activemq jms >>> karaf@root()> jms:create -t activemq --url tcp://localhost:61616 -u karaf >>> -p karaf activemq >>> karaf@root()> jms:info -u karaf -p karaf activemq >>> Property │ Value >>> ─────────┼───────── >>> product │ ActiveMQ >>> version │ 5.15.11 >>> karaf@root()> feature:install camel >>> karaf@root()> jms:info -u karaf -p karaf activemq >>> Property │ Value >>> ─────────┼───────── >>> product │ ActiveMQ >>> version │ 5.15.11 >>> karaf@root()> feature:install camel-activemq >>> karaf@root()> jms:info -u karaf -p karaf activemq >>> Error executing command: No JMS connection factory found for activemq >>> karaf@root()> >>> >>> It seems that after the feature install of camel-activemq the jms >>> references are not working anymore. I tried also the same with the pax-jms >>> feature, same behaviour. >>> >>> Best >>> - Gerald >>> >>>> Jean-Baptiste Onofré <j...@nanthrax.net> hat am 6. Januar 2020 um 11:05 >>>> geschrieben: >>>> >>>> >>>> Hi, >>>> >>>> Yes, simply use the jms feature: it will use pax-jms that use a managed >>>> service with configuration backend. >>>> >>>> You have a full JMS example in Karaf distribution: >>>> >>>> https://github.com/apache/karaf/blob/master/examples/karaf-jms-example/karaf-jms-example-features/src/main/feature/feature.xml#L35 >>>> >>>> Regards >>>> JB >>>> >>>> On 06/01/2020 09:24, Gerald Kallas wrote: >>>>> Dear community, >>>>> >>>>> I'm currently configuring the JMS connection factory within a blueprint >>>>> XML like >>>>> >>>>> <!-- set JMS connection factory --> >>>>> <bean id="jmsConnectionFactory" >>>>> class="org.apache.activemq.ActiveMQConnectionFactory"> >>>>> <property name="brokerURL" value="tcp://localhost:61616" /> >>>>> <property name="userName" value="xxxxx" /> >>>>> <property name="password" value="xxxxx" /> >>>>> </bean> >>>>> >>>>> Could this be done in one of the config files in etc folder for the whole >>>>> instance of Karaf/Camel? >>>>> >>>>> Any hints are helpful, tx in advance. >>>>> >>>>> Best >>>>> - Gerald >>>>> >>>> >>>> -- >>>> Jean-Baptiste Onofré >>>> jbono...@apache.org >>>> http://blog.nanthrax.net >>>> Talend - http://www.talend.com >> >> -- >> Jean-Baptiste Onofré >> jbono...@apache.org >> http://blog.nanthrax.net >> Talend - http://www.talend.com -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com