[
https://issues.apache.org/jira/browse/AMQ-7131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17048206#comment-17048206
]
ASF subversion and git services commented on AMQ-7131:
------------------------------------------------------
Commit ce6fc913f9cbbc0cb6c2caa54c048153ab82b3ba in activemq's branch
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=ce6fc91 ]
Merge pull request #477 from jbonofre/AMQ-7131
[AMQ-7131] Add connectionTimeout to avoid starvation
> 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)