258.6. 终止
只要 solverConfig
中的规定,解决将花费很长时间。
258.6.1. Samples 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
解决使用 OptaPlanner 的 ActiveMQ 队列上的计划问题:
from("activemq:My.Queue"). .to("optaplanner:/org/foo/barSolverConfig.xml");
from("activemq:My.Queue").
.to("optaplanner:/org/foo/barSolverConfig.xml");
公开 OptaPlanner 作为 REST 服务:
from("cxfrs:bean:rsServer?bindingStyle=SimpleConsumer") .to("optaplanner:/org/foo/barSolverConfig.xml");
from("cxfrs:bean:rsServer?bindingStyle=SimpleConsumer")
.to("optaplanner:/org/foo/barSolverConfig.xml");