Skip to content

Commit

Permalink
Adjusted the default-address settings to match the current defaults. (E…
Browse files Browse the repository at this point in the history
…nMasseProject#4761)

The removed a few defaults that were not required for the api call with the least number of args.

Signed-off-by: Vanessa Busch <[email protected]>
  • Loading branch information
vbusch authored Jun 18, 2020
1 parent 17ed8ad commit bdd7f64
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions agent/lib/artemis.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,23 +489,19 @@ var address_settings_fields = {
'maxSizeBytes':-1,
'pageSizeBytes':-1,
'pageMaxCacheSize':-1,
'redeliveryDelay':-1,
'redeliveryMultiplier':-1,
'maxRedeliveryDelay':-1,
'redeliveryDelay':1,
'redeliveryMultiplier':1.5,
'maxRedeliveryDelay':10000,
'redistributionDelay':-1,
'sendToDLAOnNoRoute':false,
'addressFullMessagePolicy': 'FAIL',
'slowConsumerThreshold':-1,
'slowConsumerCheckPeriod':-1,
'slowConsumerCheckPeriod':5,
'slowConsumerPolicy':'KILL',
'autoCreateJmsQueues':false,
'autoDeleteJmsQueues':false,
'autoCreateJmsTopics':false,
'autoDeleteJmsTopics':false,
'autoCreateQueues':false,
'autoDeleteQueues':false,
'autoCreateAddresses':false,
'autoDeleteAddresses':false
'autoCreateJmsQueues':true,
'autoDeleteJmsQueues':true,
'autoCreateJmsTopics':true,
'autoDeleteJmsTopics':true,
};

Artemis.prototype.addAddressSettings = function (match, settings) {
Expand Down

0 comments on commit bdd7f64

Please sign in to comment.