title: camel OptaplannerComponent in osgi
body: <p>I have camel running on karaf and I would like to use the <code>OptaplannerComponent</code> to ingest a problem from xml file and send the solution to a jms queue.</p>
  
  <p>I am wondering how I can make <code>optaplanner</code> find my <code>domainmodel</code> and the <code>solverConfig.xml</code> in its <code>classloader</code>. Ideally, the model and the config should be installable as a bundle that can be easily swapped at runtime.</p>
  
  <p>I see that <code>OptaPlannerEndpoint</code> loads the config like this:</p>
  
  <pre><code>ClassLoader classLoader = getCamelContext().getApplicationContextClassLoader();
      solverFactory = SolverFactory.createFromXmlResource(configuration.getConfigFile(), classLoader);
  </code></pre>
  
  <p>Is it possible to get my domainmodel into that classloader somehow?  </p>