Gowtham Gutha created CAMEL-12946:
-------------------------------------
Summary: Use MultiThreadedMessageDispatcher for SnmpConsumer
Key: CAMEL-12946
URL: https://issues.apache.org/jira/browse/CAMEL-12946
Project: Camel
Issue Type: Improvement
Components: camel-snmp
Affects Versions: 2.22.2
Reporter: Gowtham Gutha
Fix For: 2.22.3
The consumer must be able to consume using multiple threads.
{code:java}
// 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);
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)