On Tue, Sep 8, 2009 at 8:39 PM, GERARD Vincent     AWL-IT
<[email protected]> wrote:
> Hi everyone,
> (I hope this time my post will appear in the list :-))
>
> I'm implementing the network layer of an application, using Mina 1.1.7.
> I have 2 questions for you:
> 1)Is it possible to add another information to a message we want to send
> (using IoSession.write)  that will be echoed in the reply ? ( I think to
> some sort of header/footer like in JMS or MQSeries).

Yup, using the ProtocolEncoder or Filters

> 2)Does Mina keeps the order of the messages sending when replies are
> dispatched? In another words: if I do multiple IoSession.write(), do I
> receive the messageSent() in the same order I do the write ?

I am really not sure on this, but I think it will, unless you have a
Executor down in the Chain.

Anyone?

-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Reply via email to