title: GPS TCP communication
body: <p>My server receives GPS data from gps device at a port(5557) and using apache camel netty it forwards the data to a class:</p>
  
  <pre><code>  from("netty:tcp://0.0.0.0:5557?textline=true&amp;sync=false&amp;tcpNoDelay=true").bean(DataReceiverService.class,"decisionMaker")
  </code></pre>
  
  <p>Receiver class :</p>
  
  <pre><code> def decisionMaker(Exchange exchange) {
          String gpsData = exchange.in.body.toString();
  </code></pre>
  
  <p>We receive the data as comma-separated values and we save it in DB. </p>
  
  <p>Now, we also want to send data back to GPS device using tcp. As you can see the data gets forwarded from port 5557 to a class with no access to TCP port/socket. </p>
  
  <p>How can I do 2-way communication and send some data back to GPS device ?</p>