Merge branch 'ARTEMIS-2519'

This closes #2864
This commit is contained in:
Christopher L. Shannon (cshannon) 2019-10-14 14:06:25 -04:00
commit f19f75e2fe
1 changed files with 2 additions and 2 deletions

View File

@ -22,10 +22,10 @@ package org.apache.activemq.artemis.api.core;
public final class ActiveMQUnexpectedRoutingTypeForAddress extends ActiveMQException {
public ActiveMQUnexpectedRoutingTypeForAddress() {
super(ActiveMQExceptionType.MAX_CONSUMER_LIMIT_EXCEEDED);
super(ActiveMQExceptionType.UNEXPECTED_ROUTING_TYPE_FOR_ADDRESS);
}
public ActiveMQUnexpectedRoutingTypeForAddress(String msg) {
super(ActiveMQExceptionType.MAX_CONSUMER_LIMIT_EXCEEDED, msg);
super(ActiveMQExceptionType.UNEXPECTED_ROUTING_TYPE_FOR_ADDRESS, msg);
}
}