title: camel - how to receive metrics data for counter
body: <p>I want a predicate that checks if the counter reached a specific value. Is it possible to get the value from the metrics counter?</p>
  
  <pre><code>from("file:/some/file/to/check.txt").id("read-file")
      .split()
      .tokenize("\n")
      .streaming()
      .parallelProcessing()
      .to("metrics:counter:simple.counter")
      .to("direct:test");
  
  from("direct:test").id("do-something")
      . // do something
      .aggregate(constant(true), aggregationStrategy)
      .completionPredicate(counterPredicate)
      . // do something after finished all lines
      .to("direct:end");
  </code></pre>
  
  <p>I need some help with the <b>counterPredicate</b>.</p>