camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Mina Component
Date Sat, 25 Aug 2007 07:03:00 GMT
On 8/24/07, mat wang <camel.maillist@gmail.com> wrote:
> I read the Mina component. Had one question. How to send the message out to
> another endpoint?

So you mean to consume from Mina from, say, some socket and then send
to another endpoint? Something like this should work...

from("tcp://localhost:1234").to("seda:myOtherEndpoint");

Currently tcp:// maps to MINA using TCP. You might want to explicitly
configure a MinaComponent/MinaEndpoint to configure the marshalling
mechanism you want to use etc.

-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message