Re: Pax-Testing camel routes in Karaf with CamelTestSupport on recent versions

2019-11-30 Thread Jean-Baptiste Onofré
Hi Dietrich, Yeah, it's a pretty old blog post ;) I think it makes sense to add or extend the Karaf examples. I will do it. Thanks, Regards JB On 30/11/2019 10:25, Dietrich Schulten wrote: > Exactly. Those spring and activemq versions were a bit painful indeed :) > > Btw your old blog code is

Re: Pax-Testing camel routes in Karaf with CamelTestSupport on recent versions

2019-11-30 Thread Dietrich Schulten
Exactly. Those spring and activemq versions were a bit painful indeed :) Btw your old blog code is running again https://github.com/dschulten/blog-camel-blueprint/tree/karaf4-paxexam4. Care for a PR to your blog sample after 4.2.8 is out? Best, Dietrich -- -- -- OPS4J -

Re: Pax-Testing camel routes in Karaf with CamelTestSupport on recent versions

2019-11-29 Thread Jean-Baptiste Onofré
Hi Dietrich Just a small note: I did cleanups/improvements on KarafTestSupport in Karaf 4.2.8-SNAPSHOT. It's easier to use now. So I would advice to use KarafTestSupport from Karaf 4.2.8-SNAPSHOT (I'm preparing Karaf 4.2.8 anyway ;) ). Regards JB On 29/11/2019 12:03, Dietrich Schulten wrote: >

Re: Pax-Testing camel routes in Karaf with CamelTestSupport on recent versions

2019-11-29 Thread Dietrich Schulten
Hi, thank you very much, I was already wondering if CamelTestSupport is still a good fit for Pax Karaf Tests. You gave a clear opinion here :) I see you have built your test upon KarafTestSupport and I was already able to get that to work in my environment, so that looks most promising. I'll

Re: Pax-Testing camel routes in Karaf with CamelTestSupport on recent versions

2019-11-29 Thread Jean-Baptiste Onofré
Hi, CamelTestSupport is for utest whereas pax-exam is more for itest. You can take a look on some itest I did about Camel, for instance: https://github.com/apache/karaf-decanter/pull/111/files#diff-f23addf50c34ea79c8df17bb2861d649 So, you should *NOT* use CamelTestSupport for itest (and keep