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

camel-smpp: Export JSMPP's pduProcessorDegree and queueCapacity to SmppConfiguration

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.7.3
    • 3.11.0
    • camel-smpp
    • None
    • Unknown

    Description

      These two parameters configure the internal task executor, that handles PDUs. Since the core and max threads of this thread pool is set to the same number (org.jsmpp.session.SMPPSession.BoundSessionStateListener) more threads than needed are created !

      The default value of pduProcessorDegree = 3, which means that each SMPP session would spawn 3 threads. For a big number of sessions (SMPP Producer/Consumer) with a really small window, this is really unnecessary (1 thread with a fair sized queue could handle low traffic scenarios when the processing time of the route is fast!)

      Could these two JSMPP parameters be exported and configurable as an advanced configuration?

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            memas.kal G Kal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: