[
https://issues.apache.org/jira/browse/AMQ-7131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17048208#comment-17048208
]
ASF subversion and git services commented on AMQ-7131:
------------------------------------------------------
Commit 314d898ebbd41434c95ec337df598b07a9bcd60e in activemq's branch
refs/heads/activemq-5.15.x from Benjamin Graf
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=314d898 ]
[AMQ-7131] Add connectionTimeout to avoid starvation
(cherry picked from commit 92dec52e1c1ecd26014fa62f5aad7072ecdbb265)
> ActiveMQ JMS pool has no borrow timeout causing starvation
> ----------------------------------------------------------
>
> Key: AMQ-7131
> URL: https://issues.apache.org/jira/browse/AMQ-7131
> Project: ActiveMQ
> Issue Type: Bug
> Components: Pool
> Affects Versions: 5.15.8
> Reporter: Benjamin Graf
> Assignee: Benjamin Graf
> Priority: Major
> Fix For: 5.16.0, 5.15.12
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> A maxPoolSize of 1 can cause starvation during createConnection if the only
> connection gets evicted concurrently since borrow method of pool has no
> timeout waiting forever.
> Maybe introduce a new variable connectionTimeout with default 30000ms.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)