Apache MINA

The page has link to all my post related to Apache MINA. Will continues to post articles about MINA, to be updated, Subscribe in a reader

What is Apache MINA?

(N)IO Frameworks in Java

Apache MINA based server Application Architecture

Implementing SNMP4J Decoder for Apache MINA

Implementing UDP Client using Apache MINA

Implementing UDP server using Apache MINA

Implementing Trap Receiver in 30 minutes using Apache MINA

Implementing XML Decoder for Apache MINA

Integrating Apache MINA with Spring

One thought on “Apache MINA

  1. Hi Ashish,

    There is a problem about Mina, would you mind to help me to solve it? Thanks much.

    The following is the mina java code:
    //##################################################
    NioDatagramAcceptor acceptor = new NioDatagramAcceptor();

    //Executor threadPool = Executors.newCachedThreadPool();
    //Executor threadPool = Executors.newFixedThreadPool(threadPoolSize);
    //UnorderedThreadPoolExecutor threadPool = new UnorderedThreadPoolExecutor(threadPoolSize);
    OrderedThreadPoolExecutor threadPool = new OrderedThreadPoolExecutor(threadPoolSize);
    acceptor.getFilterChain().addLast(“exector”, new ExecutorFilter(threadPool));
    //……
    //##################################################

    Look into the running with jvisual VM, i found that the pool threads are created, but the thread chosen is one by one, i donot know why? It seems that they are serial execution.

    The mina version: 2.0.9.

    Appreciate for yr help and sorry about this trouble.

    Best Regards,
    Tommy

Leave a Reply

Your email address will not be published. Required fields are marked *