Look at <tokenize> I think there is a headerName to set the header. And next time use the @user mailing list to ask question about how to do X with Camel.
On Mon, Feb 8, 2016 at 11:49 PM, [email protected] <[email protected]> wrote: > 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. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
