You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/08/06 15:13:00 UTC
[jira] [Updated] (CAMEL-12946) Use MultiThreadedMessageDispatcher
for SnmpConsumer
[ https://issues.apache.org/jira/browse/CAMEL-12946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-12946:
--------------------------------
Priority: Minor (was: Major)
> 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: Minor
> 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.14#76016)