title: Camel routes shutdown after task complete
body: <p>I have a batch job which I have implemented with apache camel.
  I don't want a long running process but a pure batch job.</p>
  
  <p>Currently as the last step of the route I call a processor which does a System.exit() and camel shuts down after default 5 minutes of timeout.</p>
  
  <pre><code>    &lt;route id="dataFetch"&gt;
          &lt;from uri="direct:dataFetch"/&gt;
          &lt;split&gt;
              &lt;simple&gt;${body}&lt;/simple&gt;
              &lt;to uri="bean:dataFetchProcessor"/&gt;
              &lt;to uri="direct:dataPersist"/&gt;
          &lt;/split&gt;
          &lt;to uri="bean:stopAndExitProcessor"/&gt;
          &lt;stop/&gt;
      &lt;/route&gt;
  </code></pre>
  
  <p>This solution works for me but feels iffy.
  Any suggestions how to do it right way?</p>