Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4157

Error setting broker properties for AddressSettings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.27.1
    • 2.29.0
    • None
    • None

    Description

      ActiveMQ Artemis 2.27.0 raise the attached exception(type mismatch between read and write methods) while setting broker properties for the following AddressSettings.

      properties.put("addressSettings.NeedToSet.autoCreateAddresses", "false");
      properties.put("addressSettings.NeedToSet.autoDeleteQueues", "false");
      properties.put("addressSettings.NeedToSet.defaultConsumersBeforeDispatch", 1);
      properties.put("addressSettings.NeedToSet.defaultPurgeOnNoConsumers", "true");
      properties.put("addressSettings.NeedToSet.autoCreateQueues", "false");
      properties.put("addressSettings.NeedToSet.autoDeleteAddresses", "false");
      properties.put("addressSettings.NeedToSet.defaultDelayBeforeDispatch", 77);
      properties.put("addressSettings.NeedToSet.autoDeleteCreatedQueues", "true");
      properties.put("addressSettings.NeedToSet.defaultExclusiveQueue", "true");
      properties.put("addressSettings.NeedToSet.defaultMaxConsumers", 10);
      
      
      [main] 17:29:17,408 DEBUG [org.apache.activemq.artemis.core.config.impl.ConfigurationImpl] setProperty on class org.apache.activemq.artemis.core.settings.impl.AddressSettings, name: name, value: NeedToSet
      [main] 17:29:17,408 TRACE [org.apache.activemq.artemis.core.config.impl.ConfigurationImpl] resolved target, bean: class org.apache.activemq.artemis.core.settings.impl.AddressSettings, name: name
      [main] 17:29:17,411 TRACE [org.apache.activemq.artemis.utils.uri.FluentPropertyBeanIntrospectorWithIgnores] error for property named autoDeleteCreatedQueues
      java.beans.IntrospectionException: type mismatch between read and write methods 

      Full Backtrace: exceptionBckTrace.txt

      Attachments

        1. exceptionBckTrace.txt
          36 kB
          Rakhi Kumari

        Issue Links

          Activity

            People

              Unassigned Unassigned
              DreamPearl Rakhi Kumari
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h