On Thu, Oct 4, 2012 at 12:54 AM, Chad Beaulac <cabeau...@gmail.com> wrote:
> Hi Flavio,
>
> You can't do what you're asking for using camel-mina or camel-mina2 at this 
> point in time.
>

He can grab the netty channel as its enriched on the message as a
header. Then use that channel to write the 2nd message back. He would
need to code that. Its a matter though where and when the 2nd message
should be send back.
And what triggers when this should happen.

Maybe you can tell us a bit more about what you do in a Camel route eg?

from netty?sync=false
 to ???

So you want at ?? something to process the incoming message, and use
the same socket to send back a reply message?


> Chad Beaulac
> Objective Solutions, Inc.
> www.objectivesolutions.com
> c...@objectivesolutions.com
>
>
> On Oct 3, 2012, at 9:35 AM, Flavio Magacho - M4U wrote:
>
>> Hi,
>> My name is Flavio Magacho.
>> I have a specific problem:
>>
>> I´ll receive a socket connection and receive messages in this socket.
>> The point is to answer the messages, they should be send by the same socket 
>> and we can’t use the sync option.
>> I tried to use Mina and Netty The only way I got to answer in the same 
>> socket is to use the Sync option.
>>
>> Did anyone knows how to do that?
>>
>> Flavio Magacho
>> Gerente de Desenvolvimento
>> Diretoria de Tecnologia da Informação
>>   M4U
>> +55 (21) 2546-4050 ▪ Ramal: 4082
>> +55 (21) 8889-1572
>>
>> þ Antes de imprimir, pense em sua responsabilidade e compromisso com o Meio 
>> Ambiente.
>> O conteúdo desta mensagem é confidencial e pode ser privilegiado. É vedada a 
>> sua cópia ou divulgação.
>> The contents of this message are confidential and may be privileged. Copying 
>> or disclosing is prohibited.
>>
>>
>
>
>
>
>
>
>
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to