[ 
https://issues.apache.org/jira/browse/DIRMINA-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535064
 ] 

Mike Heath commented on DIRMINA-456:
------------------------------------

The reason I logged this bug is because ubaggili seamed to be indicating that 
in his messageReceived() handler, he was issuing multiple IoSession.write()'s 
and the writes never got sent until the method returned.  He tested this by 
sleeping for 5 seconds before returning from messageReceived().

I'll put together a test case to validate this claim.

> Provide mechanism for flushing writeBuffer from IoHandler.messageReceived
> -------------------------------------------------------------------------
>
>                 Key: DIRMINA-456
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-456
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0.0-M1
>            Reporter: Mike Heath
>             Fix For: 2.0.0-M1
>
>
> As described in this thread http://tinyurl.com/3cwkb3, we need to provide 
> support for flushing the session's write queue from the 
> IoHandler.messageRecieved() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to