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

Enable MultipleConsumersSupport for Jt400Endpoint

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-jt400
    • None
    • Novice

    Description

      We set up a Camel route that consumes messages from AS400 data queue in 20 concurrent tasks using a secure connection. The problem is that on AS400 system all communication is handled by a single thread and maximum throughput we can achieve is somewhere around 300mbps. It simply reaches a CPU processing limit and just cannot do more bceause all communication is being done within a single connection to AS400 system. If Jt400Endpoint class implemented MultipleConsumersSupport interface, we would be able to set up multiple consumers for this endpoint which would result in more than one connection to AS400 thus the processing would be split to many threads on AS400 system.

      When we disable security and the traffic is unencrypted, the problem goes away, but we really would like to stick with encrypted traffic.

      Attachments

        1. Jt400Endpoint.patch
          2 kB
          Rafał Gała
        2. Jt400MultipleConsumersRouteTest.patch
          3 kB
          Rafał Gała

        Activity

          People

            davsclaus Claus Ibsen
            rgala Rafał Gała
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: