Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6912

introduce CONNECTION_MAX_IDLE property for AHC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.10, 3.1.7, 3.2.0
    • Transports
    • None
    • Unknown

    Description

      currently we have the CONNECTION_TTL property for AHC, this is used to specify a connection TimeToLive, no matter the connection is active or not. For some scenarios, users wanna specify the value for how long an idle connection should exist in the connection pool, if reach that timespan, just close the idle connection.
      We need introduce another property named CONNECTION_MAX_IDLE to do it. To let CONNECTION_MAX_IDLE take effect, customer need configure CONNECTION_TTL as "0" which means the connection does not have an expiry deadline and use the CONNECTION_MAX_IDLE to close the idle connection only, so that the actively used connection could be still reused by the connection pool

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: