This closes #3410
This commit is contained in:
commit
c4cc5ec873
|
@ -2497,3 +2497,7 @@ ng-include > .nav.nav-tabs {
|
|||
border-right: none;
|
||||
}
|
||||
|
||||
.modal-body{
|
||||
max-height: calc(100vh - 200px);
|
||||
overflow-y: auto;
|
||||
}
|
|
@ -1429,9 +1429,9 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
List<String> names = new ArrayList<>();
|
||||
for (int i = 0; i < queueControls.length; i++) {
|
||||
QueueControl queueControl = (QueueControl) queueControls[i];
|
||||
if (routingType != null && queueControl.getRoutingType().equals(routingType.toUpperCase())) {
|
||||
if (routingType != null && routingType.length() > 1 && queueControl.getRoutingType().equals(routingType.toUpperCase())) {
|
||||
names.add(queueControl.getName());
|
||||
} else if (routingType == null) {
|
||||
} else if (routingType == null || routingType.isEmpty()) {
|
||||
names.add(queueControl.getName());
|
||||
}
|
||||
}
|
||||
|
@ -3418,10 +3418,10 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
addressSettings.setMaxRedeliveryDelay(maxRedeliveryDelay);
|
||||
addressSettings.setRedistributionDelay(redistributionDelay);
|
||||
addressSettings.setSendToDLAOnNoRoute(sendToDLAOnNoRoute);
|
||||
addressSettings.setAddressFullMessagePolicy(addressFullMessagePolicy == null ? AddressSettings.DEFAULT_ADDRESS_FULL_MESSAGE_POLICY : AddressFullMessagePolicy.valueOf(addressFullMessagePolicy.toUpperCase()));
|
||||
addressSettings.setAddressFullMessagePolicy(addressFullMessagePolicy == null || addressFullMessagePolicy.isEmpty() ? AddressSettings.DEFAULT_ADDRESS_FULL_MESSAGE_POLICY : AddressFullMessagePolicy.valueOf(addressFullMessagePolicy.toUpperCase()));
|
||||
addressSettings.setSlowConsumerThreshold(slowConsumerThreshold);
|
||||
addressSettings.setSlowConsumerCheckPeriod(slowConsumerCheckPeriod);
|
||||
addressSettings.setSlowConsumerPolicy(slowConsumerPolicy == null ? AddressSettings.DEFAULT_SLOW_CONSUMER_POLICY : SlowConsumerPolicy.valueOf(slowConsumerPolicy.toUpperCase()));
|
||||
addressSettings.setSlowConsumerPolicy(slowConsumerPolicy == null || slowConsumerPolicy.isEmpty() ? AddressSettings.DEFAULT_SLOW_CONSUMER_POLICY : SlowConsumerPolicy.valueOf(slowConsumerPolicy.toUpperCase()));
|
||||
addressSettings.setAutoCreateJmsQueues(autoCreateJmsQueues);
|
||||
addressSettings.setAutoDeleteJmsQueues(autoDeleteJmsQueues);
|
||||
addressSettings.setAutoCreateJmsTopics(autoCreateJmsTopics);
|
||||
|
@ -3430,21 +3430,21 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
addressSettings.setAutoDeleteQueues(autoDeleteQueues);
|
||||
addressSettings.setAutoCreateAddresses(autoCreateAddresses);
|
||||
addressSettings.setAutoDeleteAddresses(autoDeleteAddresses);
|
||||
addressSettings.setConfigDeleteQueues(configDeleteQueues == null ? AddressSettings.DEFAULT_CONFIG_DELETE_QUEUES : DeletionPolicy.valueOf(configDeleteQueues.toUpperCase()));
|
||||
addressSettings.setConfigDeleteAddresses(configDeleteAddresses == null ? AddressSettings.DEFAULT_CONFIG_DELETE_ADDRESSES : DeletionPolicy.valueOf(configDeleteAddresses.toUpperCase()));
|
||||
addressSettings.setConfigDeleteQueues(configDeleteQueues == null || configDeleteQueues.isEmpty() ? AddressSettings.DEFAULT_CONFIG_DELETE_QUEUES : DeletionPolicy.valueOf(configDeleteQueues.toUpperCase()));
|
||||
addressSettings.setConfigDeleteAddresses(configDeleteAddresses == null || configDeleteAddresses.isEmpty() ? AddressSettings.DEFAULT_CONFIG_DELETE_ADDRESSES : DeletionPolicy.valueOf(configDeleteAddresses.toUpperCase()));
|
||||
addressSettings.setMaxSizeBytesRejectThreshold(maxSizeBytesRejectThreshold);
|
||||
addressSettings.setDefaultLastValueKey(defaultLastValueKey == null ? ActiveMQDefaultConfiguration.getDefaultLastValueKey() : new SimpleString(defaultLastValueKey));
|
||||
addressSettings.setDefaultLastValueKey(defaultLastValueKey == null || defaultLastValueKey.isEmpty() ? ActiveMQDefaultConfiguration.getDefaultLastValueKey() : new SimpleString(defaultLastValueKey));
|
||||
addressSettings.setDefaultNonDestructive(defaultNonDestructive);
|
||||
addressSettings.setDefaultExclusiveQueue(defaultExclusiveQueue);
|
||||
addressSettings.setDefaultGroupRebalance(defaultGroupRebalance);
|
||||
addressSettings.setDefaultGroupBuckets(defaultGroupBuckets);
|
||||
addressSettings.setDefaultGroupFirstKey(defaultGroupFirstKey == null ? ActiveMQDefaultConfiguration.getDefaultGroupFirstKey() : new SimpleString(defaultGroupFirstKey));
|
||||
addressSettings.setDefaultGroupFirstKey(defaultGroupFirstKey == null || defaultGroupFirstKey.isEmpty() ? ActiveMQDefaultConfiguration.getDefaultGroupFirstKey() : new SimpleString(defaultGroupFirstKey));
|
||||
addressSettings.setDefaultMaxConsumers(defaultMaxConsumers);
|
||||
addressSettings.setDefaultPurgeOnNoConsumers(defaultPurgeOnNoConsumers);
|
||||
addressSettings.setDefaultConsumersBeforeDispatch(defaultConsumersBeforeDispatch);
|
||||
addressSettings.setDefaultDelayBeforeDispatch(defaultDelayBeforeDispatch);
|
||||
addressSettings.setDefaultQueueRoutingType(defaultQueueRoutingType == null ? ActiveMQDefaultConfiguration.getDefaultRoutingType() : RoutingType.valueOf(defaultQueueRoutingType.toUpperCase()));
|
||||
addressSettings.setDefaultAddressRoutingType(defaultAddressRoutingType == null ? ActiveMQDefaultConfiguration.getDefaultRoutingType() : RoutingType.valueOf(defaultAddressRoutingType.toUpperCase()));
|
||||
addressSettings.setDefaultQueueRoutingType(defaultQueueRoutingType == null || defaultQueueRoutingType.isEmpty() ? ActiveMQDefaultConfiguration.getDefaultRoutingType() : RoutingType.valueOf(defaultQueueRoutingType.toUpperCase()));
|
||||
addressSettings.setDefaultAddressRoutingType(defaultAddressRoutingType == null || defaultAddressRoutingType.isEmpty() ? ActiveMQDefaultConfiguration.getDefaultRoutingType() : RoutingType.valueOf(defaultAddressRoutingType.toUpperCase()));
|
||||
addressSettings.setDefaultConsumerWindowSize(defaultConsumerWindowSize);
|
||||
addressSettings.setDefaultRingSize(defaultRingSize);
|
||||
addressSettings.setAutoDeleteCreatedQueues(autoDeleteCreatedQueues);
|
||||
|
@ -3454,11 +3454,11 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
addressSettings.setRedeliveryCollisionAvoidanceFactor(redeliveryCollisionAvoidanceFactor);
|
||||
addressSettings.setRetroactiveMessageCount(retroactiveMessageCount);
|
||||
addressSettings.setAutoCreateDeadLetterResources(autoCreateDeadLetterResources);
|
||||
addressSettings.setDeadLetterQueuePrefix(deadLetterQueuePrefix == null ? null : new SimpleString(deadLetterQueuePrefix));
|
||||
addressSettings.setDeadLetterQueueSuffix(deadLetterQueueSuffix == null ? null : new SimpleString(deadLetterQueueSuffix));
|
||||
addressSettings.setDeadLetterQueuePrefix(deadLetterQueuePrefix == null || deadLetterQueuePrefix.isEmpty() ? null : new SimpleString(deadLetterQueuePrefix));
|
||||
addressSettings.setDeadLetterQueueSuffix(deadLetterQueueSuffix == null || deadLetterQueueSuffix.isEmpty() ? null : new SimpleString(deadLetterQueueSuffix));
|
||||
addressSettings.setAutoCreateExpiryResources(autoCreateExpiryResources);
|
||||
addressSettings.setExpiryQueuePrefix(expiryQueuePrefix == null ? null : new SimpleString(expiryQueuePrefix));
|
||||
addressSettings.setExpiryQueueSuffix(expiryQueueSuffix == null ? null : new SimpleString(expiryQueueSuffix));
|
||||
addressSettings.setExpiryQueuePrefix(expiryQueuePrefix == null || expiryQueuePrefix.isEmpty() ? null : new SimpleString(expiryQueuePrefix));
|
||||
addressSettings.setExpiryQueueSuffix(expiryQueueSuffix == null || expiryQueueSuffix.isEmpty() ? null : new SimpleString(expiryQueueSuffix));
|
||||
addressSettings.setEnableMetrics(enableMetrics);
|
||||
|
||||
server.getAddressSettingsRepository().addMatch(address, addressSettings);
|
||||
|
@ -3572,7 +3572,7 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
|
||||
clearIO();
|
||||
try {
|
||||
TransformerConfiguration transformerConfiguration = transformerClassName == null ? null : new TransformerConfiguration(transformerClassName).setProperties(transformerProperties);
|
||||
TransformerConfiguration transformerConfiguration = transformerClassName == null || transformerClassName.isEmpty() ? null : new TransformerConfiguration(transformerClassName).setProperties(transformerProperties);
|
||||
DivertConfiguration config = new DivertConfiguration().setName(name).setRoutingName(routingName).setAddress(address).setForwardingAddress(forwardingAddress).setExclusive(exclusive).setFilterString(filterString).setTransformerConfiguration(transformerConfiguration).setRoutingType(ComponentConfigurationRoutingType.valueOf(routingType));
|
||||
server.deployDivert(config);
|
||||
storageManager.storeDivertConfiguration(new PersistedDivertConfiguration(config));
|
||||
|
@ -3597,7 +3597,7 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
clearIO();
|
||||
|
||||
try {
|
||||
TransformerConfiguration transformerConfiguration = transformerClassName == null ? null :
|
||||
TransformerConfiguration transformerConfiguration = transformerClassName == null || transformerClassName.isEmpty() ? null :
|
||||
new TransformerConfiguration(transformerClassName).setProperties(transformerProperties);
|
||||
|
||||
DivertConfiguration config = new DivertConfiguration().setName(name).setForwardingAddress(forwardingAddress).
|
||||
|
@ -3763,7 +3763,7 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
clearIO();
|
||||
|
||||
try {
|
||||
TransformerConfiguration transformerConfiguration = transformerClassName == null ? null : new TransformerConfiguration(transformerClassName).setProperties(transformerProperties);
|
||||
TransformerConfiguration transformerConfiguration = transformerClassName == null || transformerClassName.isEmpty() ? null : new TransformerConfiguration(transformerClassName).setProperties(transformerProperties);
|
||||
BridgeConfiguration config = new BridgeConfiguration().setName(name).setQueueName(queueName).setForwardingAddress(forwardingAddress).setFilterString(filterString).setTransformerConfiguration(transformerConfiguration).setClientFailureCheckPeriod(clientFailureCheckPeriod).setRetryInterval(retryInterval).setRetryIntervalMultiplier(retryIntervalMultiplier).setInitialConnectAttempts(initialConnectAttempts).setReconnectAttempts(reconnectAttempts).setUseDuplicateDetection(useDuplicateDetection).setConfirmationWindowSize(confirmationWindowSize).setProducerWindowSize(producerWindowSize).setHA(ha).setUser(user).setPassword(password);
|
||||
|
||||
if (useDiscoveryGroup) {
|
||||
|
@ -3807,7 +3807,7 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
clearIO();
|
||||
|
||||
try {
|
||||
TransformerConfiguration transformerConfiguration = transformerClassName == null ? null : new TransformerConfiguration(transformerClassName);
|
||||
TransformerConfiguration transformerConfiguration = transformerClassName == null || transformerClassName.isEmpty() ? null : new TransformerConfiguration(transformerClassName);
|
||||
BridgeConfiguration config = new BridgeConfiguration().setName(name).setQueueName(queueName).setForwardingAddress(forwardingAddress).setFilterString(filterString).setTransformerConfiguration(transformerConfiguration).setClientFailureCheckPeriod(clientFailureCheckPeriod).setRetryInterval(retryInterval).setRetryIntervalMultiplier(retryIntervalMultiplier).setInitialConnectAttempts(initialConnectAttempts).setReconnectAttempts(reconnectAttempts).setUseDuplicateDetection(useDuplicateDetection).setConfirmationWindowSize(confirmationWindowSize).setHA(ha).setUser(user).setPassword(password);
|
||||
|
||||
if (useDiscoveryGroup) {
|
||||
|
@ -4355,7 +4355,7 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
AuditLogger.resetUser(this.server, username, "****", roles, plaintext);
|
||||
}
|
||||
|
||||
String passwordToUse = password == null ? password : plaintext ? password : PasswordMaskingUtil.getHashProcessor().hash(password);
|
||||
String passwordToUse = password == null || password.isEmpty() ? password : plaintext ? password : PasswordMaskingUtil.getHashProcessor().hash(password);
|
||||
|
||||
if (server.getSecurityManager() instanceof ActiveMQBasicSecurityManager) {
|
||||
((ActiveMQBasicSecurityManager) server.getSecurityManager()).updateUser(username, passwordToUse, roles == null ? null : roles.split(","));
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 420 KiB After Width: | Height: | Size: 174 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 975 KiB |
|
@ -29,10 +29,12 @@ Once logged in you should be presented with a screen similar to.
|
|||
|
||||
On the top right is small menu area you will see some icons.
|
||||
|
||||
- `question mark` This will load the artemis documentation in the console main window
|
||||
- `question mark` This will open a menu with the following items
|
||||
- `Help` This will navigate to the console user guide
|
||||
- `About` this will load an about screen, here you will be able to see and validate versions
|
||||
- `person` will provide a drop down menu with
|
||||
- `about` this will load an about screen, here you will be able to see and validate versions
|
||||
- `log out` self descriptive.
|
||||
- `Preferences` this will open the preferences page
|
||||
- `Log out` self descriptive.
|
||||
|
||||
#### Navigation Tabs
|
||||
|
||||
|
@ -52,7 +54,7 @@ You can install further hawtio plugins if you wish to have further functionality
|
|||
|
||||
## Artemis Tab
|
||||
|
||||
Click `Artemis` in the top navigation bar to see the Artemis specific plugin. (The Artemis tab won't appear if there is no broker in this JVM). The Artemis plugin works very much the same as the JMX plugin however with a focus on interacting with an Artemis broker.
|
||||
Click `Artemis` in the left navigation bar to see the Artemis specific plugin. (The Artemis tab won't appear if there is no broker in this JVM). The Artemis plugin works very much the same as the JMX plugin however with a focus on interacting with an Artemis broker.
|
||||
|
||||
### Tree View
|
||||
|
||||
|
|
Loading…
Reference in New Issue