Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Abandoned
-
2.22.2
-
None
-
None
-
Unknown
Description
The consumer must be able to consume using multiple threads.
// Create a threadpool with n threads threadPool = ThreadPool.create("Trap", endpoint.getMessageDispatcherThreads()); dispatcher = new MultiThreadedMessageDispatcher(threadPool, new MessageDispatcherImpl()); // this.snmp = new Snmp(transport); this.snmp = new Snmp(dispatcher, transport);