You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/05/06 11:53:00 UTC

[jira] [Resolved] (CAMEL-19730) Camel-AS2: client connection pool problems

     [ https://issues.apache.org/jira/browse/CAMEL-19730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-19730.
---------------------------------
    Fix Version/s: 4.6.0
       Resolution: Information Provided

Try with Camel 4.6 onwards as camel-as2 has have some fixes and improvements

> Camel-AS2: client connection pool problems
> ------------------------------------------
>
>                 Key: CAMEL-19730
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19730
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-as2
>    Affects Versions: 3.21.0
>            Reporter: Denis Brekhman
>            Priority: Minor
>             Fix For: 4.6.0
>
>
> The connection pool introfuced in 3.21.0 cause some problems.
>  # 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.
>  # 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)