title: Performance problem with camel "activemq component"
body: <p>I tried to work with ActiveMQ component (inside Spring-Boot) and I ended it up with some weird 
  result.</p>
  
  <p>1- I sent 2000 messages from SEDA to <code>destinationQueue</code></p>
  
  <p>Here's how I did it:</p>
  
  <pre><code>from("file:G:/highlight").to("seda:warehouse");
  // took less than a millisecond to complete
  
  
  
  from("seda:warehouse?concurrentConsumers=20").to("activemq:queue:destinationQueue") 
  // Completion time : 58 seconds
  
  </code></pre>
  
  <pre><code>Completion time : 58 seconds
  </code></pre>
  
  <p>2- Now I try to consume these files from <code>destinationQueue</code> 
   and this is how I'm going to do it:</p>
  
  <pre><code>        from("activemq:queue:line1").process(new Processor() {
              @Override
              public void process(Exchange exchange) throws Exception {
                  System.out.println(exchange.getIn().getBody(String.class));
              }
          });  
  // The completion time : around 1 second!
  </code></pre>
  
  <pre><code>The completion time : around 1 second!
  </code></pre>
  
  <p>So my question is:</p>
  
  <p>1- Why the speed is very slow, when I'm sending files to the queue? But I can consume those 
   messages so fast (in this test it was more than 50 times faster)!!!</p>
  
  <ul>
  <li>I did consuming and producing both on my laptop.</li>
  </ul>
  
  <p>Any help would be really really appreciated :))</p>