This Camel Splitter will split an Exchange containing an array of JSON messages in to individual messages.
<route id="testRoute">
<from uri="queue:input"/>
<split>
<method>com.poggs.opensource.messaging.JsonArraySplitter</method>
<to uri="queue:output">
</split>
</route>
RouteBuilder builder = new RouteBuilder() {
public void configure() {
from("direct:a")
.split(method(JsonArraySplitter.class))
.to("direct:b");
}
}