title: Simple Routing of TCP Endpoints in activemq whats wrong?
body: <p>I am trying to get a simple demo started with ActiveMQ that will demonstrate a TCP to TCP route. I am coding the endpoints and routes in a camel context in my activemq.xml configuration file.</p>
  
  <pre><code>&lt;camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring"&gt;
  
      &lt;package&gt;org.myorg.codec&lt;/package&gt;
  
      &lt;endpoint id="listener_A" uri="mina:tcp://localhost:42000?sync=false&amp;amp;textline=true"/&gt;
      &lt;endpoint id="listener_B" uri="mina:tcp://localhost:42001?sync=false&amp;amp;textline=true"/&gt;
  
      &lt;route&gt;
          &lt;from uri="activemq:listener_A"/&gt;
          &lt;to uri="activemq:listener_B"/&gt;
      &lt;/route&gt;
      &lt;route&gt;
          &lt;from uri="activemq:listener_B"/&gt;
          &lt;to uri="activemq:listener_A"/&gt;
      &lt;/route&gt;
  &lt;/camelContext&gt;
  </code></pre>
  
  <p>Any idea why this doesn't work?</p>
  
  <p>The AMQ server does not seem to be opening a listening port.</p>
  
  <p>Edit: The intent here, as a simple demonstation, is to connect to ActiveMQ with two telnet terminals (A and B) and be able to route messages from one to another through the message queue server. Later, I may try filtering or routing based on content.</p>