开发者

Creating Camel routes at runtime in Grails

开发者 https://www.devze.com 2023-01-30 23:25 出处:网络
The 开发者_开发技巧Grails routing plugin makes creating Apache Camel routes at compile-time trivial.Is there a way to create new routes at runtime?Look here for a complete walk-through: Grails, Camel

The 开发者_开发技巧Grails routing plugin makes creating Apache Camel routes at compile-time trivial. Is there a way to create new routes at runtime?


Look here for a complete walk-through: Grails, Camel and adding routes at runtime


Camel has API for creating and adding routes at runtime.

For example loading routes from XML http://camel.apache.org/loading-routes-from-xml-files.html

And you can also use the API from the model package or use a RouteBuilder instance and define your routes. Then just use the API on CamelContext to add routes.


This plugin was only released a couple of days ago - your best bet is to ask the plugin developers.

0

精彩评论

暂无评论...
验证码 换一张
取 消