Hazelcast – QueueListener – multithreading or MDB

Hazelcast IQueue does not support asynchronous interface. Anyway, asynchronous access would not be faster. MDB requires JMS, which is pure overhead. What you really need is multithreaded executor. You can use default executor:

    private final ExecutorService execService = ForkJoinPool.commonPool();

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top