I'm using camel 1.4 in Servicemix. I want to make something like that. I want
to split an XML, and to send the parts to different targets following an
xpath, and also set properties. All seems to be OK, except I don't the
splitSize property in any of my targets (TARGET1, TARGET2). I don't see the
property neither on the message (all inOnly messages), nor on the exchange.

from(JBI1).splitter(xpath).to(JBI2);            
from(JBI2).choice()
                        .when(xpath1).setHeader(PROPERTY,"25")
                                .to(TARGET1)
                        .when(xpath2).setHeader(PROPERTY, "40")
                                .to(TARGET2)
                        .otherwise().end();

Does anyone see what I'm doing wrong?

Thanks



-- 
View this message in context: 
http://www.nabble.com/Trouble-with-camel-splitter-tp21446708s22882p21446708.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to