On Mon, Nov 21, 2011 at 5:36 PM, Castyn <eric.ben...@gmail.com> wrote:
> I created a custom processor per the links posted previously.  Once in a
> custom processor, is there a way to marshal the message into java objects?

Its Java. So whatever you can do with Java you can do there.

If you have camel-jaxb on the classpath, then you can use the Camel
type converter to convert from XML -> Java Objects, if the class has
been annotated with @JAXB annotations.

Of course you can use the pure JAXB API as well. Or 3rd party
libraries such as XStream.

> Or is there a good way to parse and edit the xml message from within the
> processor, or should I just write base XML parsing in java?
>


> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/A-High-Level-Data-Translation-Question-tp5005434p5010994.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to