mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ncanis2 (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRMINA-714) Packet sequence is unordered in multi thread.
Date Wed, 24 Jun 2009 00:13:07 GMT

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

ncanis2 commented on DIRMINA-714:
---------------------------------

I have question.
I already said, after I received new ExecutorFilter, I got new error.

But I didn't update like this. I only updated ExecotorFilter.java
Should I change my Filters like this: ?
================================================================
        // filter
        RomiProtocolCodecFactory rcf = new RomiProtocolCodecFactory(true);

        chain.addLast("executorWrite", new ExecutorFilter(20, 100,
                IoEventType.WRITE, IoEventType.CLOSE,
                IoEventType.EXCEPTION_CAUGHT, IoEventType.MESSAGE_RECEIVED,
                IoEventType.MESSAGE_SENT));
        chain.addLast("codec", new ProtocolCodecFilter(rcf));
        chain.addLast("executorAfter", new ExecutorFilter(20, 100,
                IoEventType.WRITE, IoEventType.CLOSE,
                IoEventType.EXCEPTION_CAUGHT, IoEventType.MESSAGE_RECEIVED,
                IoEventType.MESSAGE_SENT));
================================================================

> Packet sequence is unordered in multi thread.
> ---------------------------------------------
>
>                 Key: DIRMINA-714
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-714
>             Project: MINA
>          Issue Type: Bug
>          Components: Filter
>    Affects Versions: 2.0.0-M5
>         Environment: xp
>            Reporter: ncanis2
>            Assignee: Edouard De Oliveira
>             Fix For: 2.0.0-M7
>
>         Attachments: mina_m6_seq_test_src.zip, org.zip
>
>
> Hi.
> Packet sequence is unordered.
> = Server & Client = 
> chain.addLast("codec", new ProtocolCodecFilter(rcf));
> chain.addLast("executor", getExecuteFilter());    => OrderedThreadPoolExecutor c =
new OrderedThreadPoolExecutor(20,100);
> If server send 1,2,3,4,5,6 , client receive 1,2,3,4,6  from server.
> Clients : 100.
> where I am wrong? 

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


Mime
View raw message