Re: Need extended running example based on karaf-jms-example in combination of REST Client

2019-10-20 Thread Jean-Baptiste Onofré
Hi Stefan, So, you can see here that it can take both jms 1.x and 2.x. If you have both JMS 1.x and JMS 2.x API deployed, it will take the 2.x. That's why maybe the @Reference doesn't work: you probably have the two API deployed and ActiveMQ connection factory is 1.x only. Anyway, maybe you

Re: Need extended running example based on karaf-jms-example in combination of REST Client

2019-10-20 Thread Jean-Baptiste Onofré
Hi Stefan, So, you can see here that it can take both jms 1.x and 2.x. If you have both JMS 1.x and JMS 2.x API deployed, it will take the 2.x. That's why maybe the @Reference doesn't work: you probably have the two API deployed and ActiveMQ connection factory is 1.x only. Anyway, maybe you

Re: Need extended running example based on karaf-jms-example in combination of REST Client

2019-10-20 Thread Jean-Baptiste Onofré
By the way, as ActiveMQ is JMS 1.1 (for now, I'm planning to add support for JMS 2.0 soon), you can import like this: javax.jms*;version="[1,2)" It would be a good test ;) Regards JB On 20/10/2019 12:38, stefang wrote: > Hi JB, > > Import was exactly as in your JMS-Reference Example. > > >

Re: Need extended running example based on karaf-jms-example in combination of REST Client

2019-10-20 Thread stefang
Hi JB, Import was exactly as in your JMS-Reference Example. javax.jms*;version="[1,3)", * Regards Stefan -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html