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

Camel-AS2: client connection pool problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Information Provided
    • 3.21.0
    • 4.6.0
    • camel-as2
    • None
    • Moderate

    Description

      The connection pool introfuced in 3.21.0 cause some problems.

      1. If consumer side not reachable on client start the route cannot be started. Ok, this problem was also before 3.21.0, but was easier to fix.
      2. The usage of connection pool in the AS2ClientConnection.send doesn't handle excetions properly. If something goes wrong when connection is opened or when request/respone executed, the connection isn't returned properly to the pool. So, after some exceptions there are no available connections in the pool anymore and another exception occurs - just org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool

      Attachments

        Activity

          People

            Unassigned Unassigned
            denis-b Denis Brekhman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: