activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbertram <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #1781: ARTEMIS-1613 Integrating JDBC into CLI ...
Date Thu, 18 Jan 2018 21:22:46 GMT
Github user jbertram commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1781#discussion_r162473338
  
    --- Diff: artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
---
    @@ -557,6 +592,25 @@ public Object run(ActionContext context) throws Exception {
              filters.put("${global-max-section}", readTextFile(ETC_GLOBAL_MAX_SPECIFIED_TXT,
filters));
           }
     
    +      if (jdbc) {
    +         if (jdbcURL == null) {
    +            jdbcURL = "jdbc:derby:" + getInstance().getAbsolutePath() + "/data/derby/db;create=true";
    --- End diff --
    
    Should this be left null as well rather than defaulting to Derby?


---

Mime
View raw message