[ https://issues.apache.org/jira/browse/CAMEL-12946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino updated CAMEL-12946: ------------------------------------- Fix Version/s: (was: 2.24.0) > 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 > Priority: Major > Fix For: 3.0.0 > > > 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)