Hi,
I'm having a problem with getting client socket connection or with understanding how camel should work. Basically I have spring configuration in which I placed:
<camel:camelContext id="Camel">
    <camel:package>com.hl7.test</camel:package>
    <camel:template id="producerTemplate"/>
<camel:endpoint id="hl7Listener" uri="mina2:tcp://192.168.1.195:8812?sync=true&amp;codec=#hl7codec"/>
</camel:camelContext>

and a route:
from("hl7Listener").to("lookupService");


Now I'm connecting client and if client send anything I can pick it up in lokupService and client in case of HL7 receives HL7 ACK message which works great. But I would like to send something else also to that connected client. Client connects and is connected for whole the time. It sends sometimes messages and get ACK messages as response. But how can I send anything else to that client? Is there anyway to do it? I simply want to be able to speak with client so on the base on client/server connection. I will have only 1 client connected.

Reply via email to