title: how to split an object up in camel routebuilder
body: <p>Hi there I'm pretty new to Java, camel, etc.  Here's my problem:</p>
  
  <p>I have code that passes an order containing order items and some other info in xml format from one camel Processor to another.  This particular Processor then splits up the order and creates multiple orders, and then passes them all on to the next endpoint as separate messages. </p>
  
  <p>Currently this Processor uses ProducerTemplate to explicitly accomplish this.  I would like to  move this behaviour to RouteBuilder itself and not use ProducerTemplate.  I've looked at Splitter and MessageTranslator, but I don't have all the pieces yet I think.  </p>
  
  <p>So basically I want to split the message in the RouteBuilder using Splitter, but I want to supply custom code that will take the message, then deserialize it into an Order object, then create multiple Order objects, and then send them all as separate messages to the next endpoint.  How do I accomplish this?</p>
  
  <p>e.g. I want to be able to do something like </p>
  
  <pre><code>from("startPoint").split(MyCustomStrategy).to("endPoint")
  
  //where MyCustomStrategy will take the message, 
  //and split it up and pass all the newly created messages to endPoint.
  </code></pre>