Denis Brekhman created CAMEL-19730:
--------------------------------------
Summary: 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
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)