I found the problem :jumping: I was using the spring SingleConnectionDataSource. The connection seems to be close after the first message.
In fact when messages are redirected to a file after the split, they are push in one unique ligne. That why I thought the first message was the only one to be send. =) So how to split using xml, this example code is obsolate recipients seems to be invalids tags <camelContext id="buildSplitter" xmlns="http://activemq.apache.org/camel/schema/spring"> <route> <from uri="seda:a"/> <splitter> <recipients> <bodyAs class="java.lang.String"/> <tokenize token=""/> </recipients> </splitter> <to uri="seda:b"/> </route> </camelContext> -- View this message in context: http://www.nabble.com/use-of-splitter-component-to-split-serialised-JaxB-tp10899172s22882p15231835.html Sent from the Camel - Users mailing list archive at Nabble.com.
