title: Camel: Stop a timer route after the processing is complete
body: <p>I am adding routes dynamically using "timer" component with "repeatCount=1" to add a route. I need to stop this route once it has completed this run.</p>
  
  <pre><code>from("timer://" + host + "-Compressor?delay=10000&amp;repeatCount=1")
      .process(.....)
  .to("mock:test");
  </code></pre>
  
  <p>Here, <strong>host</strong> is a variable used when adding the route dynamically. The route needs to be stopped so as to spawn it again when required. What am not able to do is how to know if the route has no pending messages. For GenericFileConsumer, there is a method "getPendingExchangesSize()". But I didn't get anything similar for this component.</p>
  
  <p>Moreover, the timer component is just used to kick start the route without requirement of any external simulation and it has option to run it just once. </p>