camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Invoking .tokenizeXML from a custom processor
Date Tue, 02 Apr 2013 06:47:09 GMT
Hi

You can use the Tokenize language

org.apache.camel.language.tokenizer.TokenizeLanguage

It has a number of static methods to easily create the expression.
Then you can use that from a processor.



On Tue, Apr 2, 2013 at 7:29 AM, dkum003 <DHANANJAY.KUMAR@amadeus.com> wrote:

>
> Hi,
>
> I am aware that we can invoke the .tokenizeXML from the route builder. But
> is there a way to invoke this through a processor.
>
> Say i want to split the xml to write it to a set of xml tags. I do not want
> to write custom logic using xpath/dom to split this. Instead i would like
> to
> use camel's .tokenizeXML method.
>
> Could you please guide me on this.
>
> Regards,
> Dhananjay
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Invoking-tokenizeXML-from-a-custom-processor-tp5730189.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message