On Wed, Jun 3, 2009 at 7:52 AM, David Rosenstrauch <dar...@darose.net> wrote:
> On Tue, June 2, 2009 6:46 pm, Emmanuel Lecharny wrote:
>> On Tue, Jun 2, 2009 at 10:18 PM, Adam Brown <acbatw...@gmail.com> wrote:
>>> Thanks, David.  Having a listener on the CloseFuture solved the problem
>>> for
>>> me.  Now everything shuts down cleanly.
>>
>> I'm pretty sure it would be better to define a way to programatically
>> shutdown the server without having to implement a 'hack' (btw, David,
>> brillant idea !)
>
> Not such a hack really, if you think about it.  It kinda makes sense that
> you'd want to finish gracefully closing the connection issuing the
> shutdown command before you shut down the server.

The fact is there is no other way to do it in MINA atm. I call a
'hack' the fact that you _have_ to do that, and I wish MINA offer a
better solution...





-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to