[ 
https://issues.apache.org/jira/browse/ARTEMIS-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram reassigned ARTEMIS-2796:
---------------------------------------

    Assignee:     (was: Clebert Suconic)

> Disk persistence path is not properly expanded
> ----------------------------------------------
>
>                 Key: ARTEMIS-2796
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2796
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.10.1
>         Environment: Happens on Windows 10, with Java:
> java version "1.8.0_192"
> Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)
>  
> Happens also on Debian GNU/Linux 10 (buster):
> Java version: openjdk 11.0.7 2020-04-14 (build 11.0.7+10-post-Debian-3deb10u1)
>            Reporter: Gauthier Roebroeck
>            Priority: Minor
>
> I am using ActiveMQ Artemis via the Spring Boot starter. Spring Boot has 
> [auto-configuration 
> |[https://docs.spring.io/spring-boot/docs/2.2.x/reference/html/spring-boot-features.html#boot-features-artemis]]
>  for some Artemis configuration.
> The spring boot configuration `spring.artemis.data-directory` is used to set 
> the following Artemis Configuration fields:
> {{configuration.setLargeMessagesDirectory(dataDir + "/largemessages");}}
> {{configuration.setBindingsDirectory(dataDir + "/bindings");}}
> {{configuration.setPagingDirectory(dataDir + "/paging")}}
> Where {{dataDir}} is the content of the configuration key above.
>  
> When setting the configuration to {{~/.komga/artemis}}, the ~ character is 
> not expanded by Artemis, which instead creates a '~' directory in the current 
> folder.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to