[英]How to make optaplanner a REST webservice
I just started using the Optaplanner as a way to do vehicle routing. 我刚开始使用Optaplanner作为车辆路线的一种方法。 However I would like to expose the optaplanner as a web service (preferably REST).
但是,我想将optaplanner公开为Web服务(最好是REST)。
Now I've read on several blogs that it can be done with Apache Camel. 现在,我已经在几个博客上阅读到可以使用Apache Camel完成它。 However finding a decent example seems impossible.
然而,找到一个体面的例子似乎是不可能的。
Are there any known examples that I can look at or any tips on how to expose this? 是否有我可以查看的已知示例或有关如何公开此信息的提示?
There are several ways to expose it as a REST service: 有几种方法可以将其公开为REST服务:
Anyway, OptaPlanner doesn't care how you expose it as a REST service (so it doesn't hinder you either): 无论如何,OptaPlanner不在乎如何将其公开为REST服务(因此也不会妨碍您):
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.