[ 
https://issues.apache.org/jira/browse/AMQ-4469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630283#comment-13630283
 ] 

SuoNayi commented on AMQ-4469:
------------------------------

The inner TransportAcceptListener in the TransportConnector that increases the 
current number of connections created by clients async will allow the 
TcpTransportServer to accept more connections.
The currentTransportCount property in the TcpTransportServer is non thread-safe 
while it will be counted by the TransportConnector in parallel.

                
> Maximum connections control can not work in concurrent environment
> ------------------------------------------------------------------
>
>                 Key: AMQ-4469
>                 URL: https://issues.apache.org/jira/browse/AMQ-4469
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.6.0
>            Reporter: SuoNayi
>             Fix For: 5.9.0
>
>         Attachments: AMQ-4469.patch, MaxConnectionControlTest.java
>
>
> The test case demonstrates that you can create even more connections than the 
> maximum size.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to