Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12946

camel-snmp - Use MultiThreadedMessageDispatcher for SnmpConsumer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Abandoned
    • 2.22.2
    • None
    • camel-snmp
    • 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);
       
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gowthamgutha Gowtham Gutha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: