Reputation: 3
Is there a way to print routes in Java DSL?
I found a way to print my Camel routes in XML DSL using:
ModelHelper.dumpModelAsXml(camelContext, routeDefinition);
or in YAML DSL using:
ModelWriter(stringWriter).writeRoutesDefinition(routesDefinition.get());
But I didn't find a way to print them in Java DSL.
Upvotes: 0
Views: 68