Rename misleading divertBindingNotExists to divertBindingAlreadyExists
This commit is contained in:
parent
3d8fbc1395
commit
53b84624f3
|
@ -360,7 +360,7 @@ public interface ActiveMQServerLogger extends BasicLogger {
|
|||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 222006, value = "Binding already exists with name {0}, divert will not be deployed", format = Message.Format.MESSAGE_FORMAT)
|
||||
void divertBindingNotExists(SimpleString bindingName);
|
||||
void divertBindingAlreadyExists(SimpleString bindingName);
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 222007, value = "Security risk! Apache ActiveMQ Artemis is running with the default cluster admin user and default password. Please see the cluster chapter in the ActiveMQ Artemis User Guide for instructions on how to change this.", format = Message.Format.MESSAGE_FORMAT)
|
||||
|
|
|
@ -1715,7 +1715,7 @@ public class ActiveMQServerImpl implements ActiveMQServer {
|
|||
SimpleString sName = new SimpleString(config.getName());
|
||||
|
||||
if (postOffice.getBinding(sName) != null) {
|
||||
ActiveMQServerLogger.LOGGER.divertBindingNotExists(sName);
|
||||
ActiveMQServerLogger.LOGGER.divertBindingAlreadyExists(sName);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue