Hi

So you want camel to expose an endpoint that uses TCP? And this
endpoint should be able to return a response the the client?

Well this is what Camel can do. Out of the box it supports
- textline
- Object serialization
- Camel Exchange

What you need is textline if you can use simple textline format. Data
ends with a \n
If not then you should write your own Mina codec where you can define
the data format.

For instance we have the camel-hl7 component that is a Mina codec that
defines the HL7 dataformat. You can peek in this code to see how to do
this.
http://activemq.apache.org/camel/hl7.html



On Tue, Nov 11, 2008 at 1:56 PM, Jeff V <[EMAIL PROTECTED]> wrote:
>
> What I need is an endpoint in a camel context that exposes a tcp service. A
> client system (DEV in my previous example) will connect to the tcp service
> and send and receive messages in a known format.
>
> The messages coming from both the client and server are unsolicited and not
> part of an exchange.
>
> --
> View this message in context: 
> http://www.nabble.com/Can-mina%3A%3Atcp-do-asyncronous-bidirectional-messages--tp20431804s22882p20438983.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 

/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/

Reply via email to