title: Camel route to ActiveMQ destination
body: <p><br/>
  I am trying to set up a basic route from File system to a JMS Destination running on ActiveMQ. My ActiveMQ server is running on localhost using default settings and has a Queue available at "<strong>activemq/queue/TestQueue</strong>".
  So I have coded the following Java route:</p>
  
  <pre><code>public static void main(String args[]) throws Exception {
      CamelContext context = new DefaultCamelContext();
      ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(
              "vm://localhost");
      context.addComponent("jms",
              JmsComponent.jmsComponentAutoAcknowledge(connectionFactory));
      context.addRoutes(new RouteBuilder() {
          public void configure() {
              from("file:D:\\camel\\in").to(
                      "activemq:queue:TestQueue");
          }
      });
      context.start();
      Thread.sleep(10000);
      context.stop();
  }
  </code></pre>
  
  <p>Unfortunately the following Exception is raised:</p>
  
  <pre><code>Exception in thread "main" org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: &gt;&gt;&gt; To[activemq:queue:TestQueue] &lt;&lt;&lt; in route: Route(route1)[[From[file:D:\camel\in]] -&gt; [To[activemq:queue... because of Failed to resolve endpoint: activemq://queue:TestQueue due to: 
  No component found with scheme: activemq
          at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:945)
      . . . .
      Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: activemq://queue:TestQueue due to: No component found with scheme: activemq
  </code></pre>
  
  <p>I have tried with some other variations of the "to" route, such as "activemq:queue:activemq/queue/TestQueue" without success. Any idea how to make it work ? <br/>
  Thanks</p>