[ 
https://issues.apache.org/jira/browse/DIRMINA-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800420#action_12800420
 ] 

Emmanuel Lecharny commented on DIRMINA-724:
-------------------------------------------

What would be very useful is a code demonstrating the problem. 

Also consider that it's not because you close all the sessions that the 
messages are removed from the write queue. In fact, either you wait for the 
scheduled messages to be sent using the close(false) method, or you do a 
close(true) and the queue will be emptied.

> getScheduledWriteMessages not zero after all sessions closed
> ------------------------------------------------------------
>
>                 Key: DIRMINA-724
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-724
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M6
>         Environment: Linux 2.6.9-34
>            Reporter: Oscar Huang
>            Priority: Minor
>
> 1.start the server (MINA application)
> 2.50 clients connect to the server and send 10 requests per second 
> constantly. server broadcast all the received message to the clients
> 3.close all the clients
> 4. expected: getScheduledWriteMessages returns zero.
>     actual: getScheduledWriteMessages  retuns the value greater than zero.

-- 
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