[ 
https://issues.apache.org/jira/browse/ARTEMIS-2442?focusedWorklogId=296184&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-296184
 ]

ASF GitHub Bot logged work on ARTEMIS-2442:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Aug/19 09:35
            Start Date: 16/Aug/19 09:35
    Worklog Time Spent: 10m 
      Work Description: wy96f commented on pull request #2785: ARTEMIS-2442 
throw ActiveMQResourceLimitException if session/queue limit is reached
URL: https://github.com/apache/activemq-artemis/pull/2785#discussion_r314649863
 
 

 ##########
 File path: 
artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQExceptionType.java
 ##########
 @@ -261,6 +261,12 @@ public ActiveMQException createException(String msg) {
       public ActiveMQException createException(String msg) {
          return new ActiveMQReplicationTimeooutException(msg);
       }
+   },
+   RESOURCE_LIMIT_REACHED(221) {
 
 Review comment:
   ActiveMQSessionContext::recreateSession() and BridgeImpl::connect() both are 
using native core client api. 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 296184)
    Time Spent: 1h 20m  (was: 1h 10m)

> throw ActiveMQResourceLimitException if session/queue limit is reached
> ----------------------------------------------------------------------
>
>                 Key: ARTEMIS-2442
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2442
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>            Reporter: yangwei
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Now ActiveMQSessionCreationException is thrown when session/queue limit is 
> reached. ActiveMQSessionCreationException  is used to indicate server is 
> starting. It would cause session recreation retries all the time. Session 
> creation should fail fast when limit is reached so client can try to connect 
> other brokers in cluster.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to