Following the last post Apache Camel tutorial : Quick start from scratch (Console App , without Spring), if you don’t want to hard code the routes, we can simply use xml as keep the routes definition.
to do that , let’s change the code a little bit.
then in the route.xml, add the route definition there,
when run, you see the similar results,
for this code, check the branch demoxml
No comments:
Post a Comment