Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the asciidoc in the repository: https://github.com/apache/camel/blob/master/README.md https://github.com/apache/camel/blob/master/components/readme.adoc
Available as of Camel 2.13
The optaplanner: component solves the planning problem contained in a message with OptaPlanner.
The component supports consumer as BestSolutionChangedEvent listener and producer for processing Solution and ProblemFactChange
Maven users will need to add the following dependency to their
The solverConfig is the classpath-local URI of the solverConfig, for example
You can append query options to the URI in the following format,
URI Options (since v 2.16)
Message Headers (since v 2.16)
Camel takes the planning problem for the IN body, solves it and returns it on the OUT body.
The solving will take as long as specified in the
Solve an planning problem that's on the ActiveMQ queue with OptaPlanner:
Expose OptaPlanner as a REST service: