title: No endpoint could be found for: test, please check your classpath contains the needed Camel component jar
body: <p>I am trying to send and receive messages using <code>akka-camel</code> and created a sample example for producer and consumer like below :</p>
  
  <p>Producer:</p>
  
  <pre><code>import akka.actor.{Actor, ActorSystem, Props}
  import akka.camel.Producer
  
  class CamelJmsProducer extends Actor with Producer {
    override def endpointUri = "test"
  }
  
  object CamelJmsProducerApp extends App {
    val system = ActorSystem("some-system")
    val ref = system.actorOf(Props[CamelJmsProducer])
    ref ! "HEY"
  }
  </code></pre>
  
  <p>Consumer:</p>
  
  <pre><code>import akka.actor.{Actor, ActorSystem, Props}
  import akka.camel.{CamelMessage, Consumer}
  
  class CamelJmsConsumer extends Actor with Consumer {
    override def receive = {
      case msg: CamelMessage ⇒ println("RECEIVED &gt;&gt;&gt; " + msg)
      case _ ⇒ println("RECEIVED NOTHING&gt;&gt;&gt; ")
    }
  
    override def endpointUri = "test"
  }
  
  object CamelJmsConsumerApp extends App {
    val system = ActorSystem("some-system1")
    system.actorOf(Props[CamelJmsConsumer])
  }
  </code></pre>
  
  <p>But I am facing issue in both producer and consumer like below. What I am missing?</p>
  
  <p>Producer:</p>
  
  <blockquote>
    <p>java.lang.IllegalArgumentException: destination must be specified</p>
  </blockquote>
  
  <p>Consumer :</p>
  
  <blockquote>
    <p>Caused by: org.apache.camel.NoSuchEndpointException: No endpoint could
    be found for: test, please check your classpath contains the needed
    Camel component jar.</p>
  </blockquote>