Skip to content
Advertisement

How to use both tokenize and simple in Spring DSL (XML route config) for Apache Camel in split?

I’d like to repoduce with XML the expression from Java DSL like this:

JavaScript

When I try to set up , consisting of two elements, and like that:

JavaScript

Or like that:

JavaScript

it doesn’t allow to validate the XML with the scheme:

JavaScript

and

JavaScript

So, it is impossible to put simple and tokenize together in XML, so how to do that?

Advertisement

Answer

Surprisingly, it worked for

JavaScript

i.e. <tokenize/> can have a body that is interpreted the same way as <simple/>

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement