4 Replies Latest reply on May 28, 2014 9:39 AM by vincent.crepin

    XMLJSON

    vincent.crepin

      Hello. I want to use the json to xml marshalling.

       

      I installed the camel-xmljson feature in my profile. I defined the dataformats in my camel blueprint context and I use a simple unmarshal in a route:

       

      ....

       

      <dataFormats>

        <xmljson id="xmljson" />

        </dataFormats>

       

      ...

       

      <unmarshal ref="xmljson" />

       

      ....

       

      When I start my route, I get the following error:

       

      java.lang.IllegalArgumentException: Data format 'xmljson' could not be created. Ensure that the data format is valid and the associated Camel component is present on the classpath.

       

      What am I missing ?