ARTEMIS-2640 mgmnt ops reporting wrong audit details

This commit is contained in:
Justin Bertram 2020-03-03 14:03:55 -06:00 committed by Clebert Suconic
parent e899fac372
commit b2417d33b1
1 changed files with 5 additions and 5 deletions

View File

@ -1119,10 +1119,10 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
boolean autoCreateAddress, boolean autoCreateAddress,
long ringSize) throws Exception { long ringSize) throws Exception {
if (AuditLogger.isEnabled()) { if (AuditLogger.isEnabled()) {
AuditLogger.createQueue(this.server, address, routingType, name, filterStr, durable, AuditLogger.createQueue(this.server, null, address, routingType, name, filterStr, durable,
maxConsumers, purgeOnNoConsumers, exclusive, groupBuckets, lastValue, maxConsumers, purgeOnNoConsumers, exclusive, groupRebalance, groupBuckets, groupFirstKey,
lastValueKey, nonDestructive, consumersBeforeDispatch, delayBeforeDispatch, autoDelete, lastValue, lastValueKey, nonDestructive, consumersBeforeDispatch, delayBeforeDispatch,
autoDeleteDelay, autoDeleteMessageCount, autoCreateAddress, ringSize); autoDelete, autoDeleteDelay, autoDeleteMessageCount, autoCreateAddress, ringSize);
} }
checkStarted(); checkStarted();
@ -1361,7 +1361,7 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
@Override @Override
public void destroyQueue(final String name, final boolean removeConsumers, final boolean autoDeleteAddress) throws Exception { public void destroyQueue(final String name, final boolean removeConsumers, final boolean autoDeleteAddress) throws Exception {
if (AuditLogger.isEnabled()) { if (AuditLogger.isEnabled()) {
AuditLogger.destroyQueue(this.server, name, removeConsumers, autoDeleteAddress); AuditLogger.destroyQueue(this.server, null, name, removeConsumers, autoDeleteAddress);
} }
checkStarted(); checkStarted();