[ 
https://issues.apache.org/jira/browse/ARTEMIS-4398?focusedWorklogId=878787&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-878787
 ]

ASF GitHub Bot logged work on ARTEMIS-4398:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Aug/23 08:10
            Start Date: 29/Aug/23 08:10
    Worklog Time Spent: 10m 
      Work Description: andytaylor commented on code in PR #4587:
URL: https://github.com/apache/activemq-artemis/pull/4587#discussion_r1308388409


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/config/impl/ConfigurationImpl.java:
##########
@@ -773,6 +774,17 @@ public <T> T convert(Class<T> type, Object value) {
          }
       }, TransformerConfiguration.class);
 
+      beanUtils.getConvertUtils().register(new Converter() {
+         @Override
+         public <T> T convert(Class<T> type, Object value) {
+            //we only care about DATABASE type as it is the only one used
+            if 
(StoreConfiguration.StoreType.DATABASE.toString().equals(value)) {
+               return (T) new DatabaseStorageConfiguration();
+            }
+            return (T) null;

Review Comment:
   Ive changed this





Issue Time Tracking
-------------------

    Worklog Id:     (was: 878787)
    Time Spent: 0.5h  (was: 20m)

> Support configuring Database with Broker Properties
> ---------------------------------------------------
>
>                 Key: ARTEMIS-4398
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4398
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Andy Taylor
>            Assignee: Andy Taylor
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to