* OptaPlanner component for Camel
*/
public class OptaPlannerComponent extends DefaultComponent {
protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
SolverFactory solverFactory = new XmlSolverFactory(remaining);
OptaPlannerEndpoint endpoint = new OptaPlannerEndpoint(uri, this, remaining);
endpoint.setSolverFactory(solverFactory);
setProperties(endpoint, parameters);