2 Replies Latest reply on Apr 13, 2010 9:07 AM by maciej.krysiuk

    scope of convertBodyTo

    maciej.krysiuk

      Hi,

       

      I have a question regarding convertBodyTo command in Camel.

       

      If I use a following command:

      <camel:convertBodyTo type="org.w3c.dom.Document" />

       

      Does it hold the DOM format till the end of the flow (between different routes and even non-camel components) or does it become a stream by default when a message reaches a next route?

       

      Regards,

      Matt