Hello,

I can do the following in Java DSL:
split(header("something").tokenize("\n")).to("something");

But I cannot do the same in Blueprint/Spring DSL:
<split>
<simple>${header.something}</simple>
<tokenize token="\n"/>
<to uri="something"/>

I get the following error:
Caused by: org.xml.sax.SAXParseException; cvc-complex-type.2.4.a: Invalid
content was found starting with element 'camel:simple'. One of
'{"http://camel.apache.org/schema/blueprint":onException ...

Any help is appreciated.

thanks,
sunil.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Issues-with-Spring-DSL-with-Splitter-Tokenizer-Header-tp5777406.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to