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 2022/09/02 11:21:00 UTC

[jira] [Resolved] (CAMEL-12946) camel-snmp - Use MultiThreadedMessageDispatcher for SnmpConsumer

     [ https://issues.apache.org/jira/browse/CAMEL-12946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-12946.
---------------------------------
    Resolution: Abandoned

> camel-snmp - 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
>
> 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
(v8.20.10#820010)