title: I want to conditionally split a List if exxchange is a List and continue processing
body: <p>I'm trying to conditionally split an exchange into its contents if it is a List, otherwise leave it as a single item and have both go to the same processor</p>
  
  <p>I ideally do not want to set up lots of inbetween direct:endpoints to achieve this</p>
  
  <pre><code>from( X )
      .when( body().isInstanceOf( List.class )
          .split( body() )
          .setHeader( "x", constant( "I don't care " ) // this needs to be set as split must have at least one child node
          .process( ? ) // here the exchange.in.body is now a single item from the List // this is what I want to continue outside of this when block
      .end() // also tried .end().end() and .endChoice()
      .process( ... ) // here the exchange in is a List again, I want it to be the single items, split
  </code></pre>
  
  <p>I do not understand why the exchange is not left as single units, that is how it becomes a List again when it leaves the when 'block'.
  I get the feeling Camel 'expects' me to use direct:endpoints to achieve this, but I find readability decreases quickly the more direct points are used and want to avoid them if possible.</p>