camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fxthomas <>
Subject Re: DUMP Camelcontext to XML DSL -- API ?
Date Mon, 20 Jul 2015 15:38:45 GMT

  I tried the ManagedRoute way, it worked but a problem i faced was that the 
bean entries which are linked to the routes are not  dumped.   Moreover the
XML representation was not full working if i tried to load the XML  as
spring .  

for example <expressionDefinition>body</expressionDefinition>  which was
generated by the API did not work and i got error from camel saying language
schema not present etc.  when i changed it to 
<simple>${body}</simple> . It worked fine

So can i dump the whole camlecontext as XML using some API which is
currently as the  in the object  ??

If there any ready reckoner which i can use to convert the java DSL to  XMl


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message