RE: camel route to remote EJB using karaf blueprint

2017-07-09 Thread Matthew Shaw
Thanks Claus, I can't change the source system, so I have to consume the ejb from osgi unfortunately. In the scenario below, I do have it working, partially, as you say, I'm now battling classloader issues. Trawling the posts I have read about setting the Thread.currentThread().setClassContextLo

RE: camel route to remote EJB using karaf blueprint

2017-07-09 Thread Matthew Shaw
I have basic scenario working now. I didn't really change any of my config below, except that I nuked the cache and a tmp folder in karaf and restarted. Then it seemed to start working. I am now working through an issue where I force the remote server to throw an exception "TimesheetNotFound"

Re: How can I start more than one Camel Context in Spring Boot ?

2017-07-09 Thread labo
We have a huge amount of integration routes and a migration to spring boot with one camel root per app would end with hundreds of virtual machines. Therefore I think about spring boot apps with functional grouped routes. I know that I can start / stop routes with jolokia but when I split a route a

Re: camel route to remote EJB using karaf blueprint

2017-07-09 Thread Claus Ibsen
Hi I think you are going on a path where nobody really goes - calling remote EJBs (... from OSGi). Then classloading is much more problematic to setup. You would need to install the WebLogic EJB client and also make sure to have all the right package imports in your application bundle etc. I real