Using direct-vm is for when you have multiple CamelContexts running. I use it in OSGi, seems like it works just the same anywhere there is more than one CamelContext or possibly even ClassLoader.
On 30 January 2016 at 18:22, jgoggins <joegogg...@hotmail.com> wrote: > Can Camel Context be shared between an Akka Actor application and a Spring > Boot jar file it is consuming. I want to route endpoints in the jar to the > actor. Although many examples and readings seem to state this as a trival > task, the execution is not the case. I see 2 camel context's started, one > in > Spring Boot when it is instantiated within the Scala application using > "SpringApplication.run(classOf[Application])" and one in the Akka > application on calling "CamelExtension(actorSystem).context". I have spent > some time on this. Recently I noted in a support forum this was not > possible > and using direct-vm would be a solution. With limited information > available, > could someone here guide me ? > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Shared-Camel-Context-tp5777066.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker <boa...@gmail.com>