Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-9531

brokerProperties - storeConfiguration.dataSourceProperties are not exposed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • AMQ 7.12.3.GA
    • broker-core, configuration
    • None
    • Important

      The jdbc store configuration does not expose an accessor for the dataSourceProperties, which means they cannot be configured.

       

      using: 
      "storeConfiguration.dataSourceProperties.loggerLevel=WARN",
      results in status condition failed message:
       
      message: >-
              some properties from aa-jdbc-ha53a-peer-a-props resulted in error on pod
              aa-jdbc-ha53a-peer-a-ss-0 : reasons:
              map[broker.properties:[

      {"value":"storeConfiguration.dataSourceProperties.loggerLevel=WARN","reason":"java.lang.NoSuchMethodException:         Unknown property 'dataSourceProperties' on class 'class         org.apache.activemq.artemis.core.config.storage.DatabaseStorageConfiguration'"}

      ]] (edited) 
       
      One use case for dataSourceProperties is masking some properties in the logging messages.

              gtully@redhat.com Gary Tully
              gtully@redhat.com Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: