Mikhail Semenov
Mikhail Semenov

Reputation: 3

Print Apache Camel route to Java DSL

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

Answers (1)

Claus Ibsen
Claus Ibsen

Reputation: 55555

No there is no such feature, and its not planned either.

Upvotes: 0

Related Questions