[
https://issues.apache.org/jira/browse/QPID-7940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187851#comment-16187851
]
Keith Wall commented on QPID-7940:
----------------------------------
Change looks reasonable to me.
> [Java Broker] JSON context substitution does not work with nested variables
> ---------------------------------------------------------------------------
>
> Key: QPID-7940
> URL: https://issues.apache.org/jira/browse/QPID-7940
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Reporter: Rob Godfrey
> Assignee: Rob Godfrey
> Fix For: qpid-java-broker-7.0.0
>
>
> A context value of the form $\{json:FOO\} is intended to escape the value of
> FOO to be usable within a JSON string, however if the value of $\{FOO\}
> interpolates first into $\{BAR\} then the json substitution is not applied to
> the interpolated value of $\{BAR\}.
> Since $\{qpid.work_dir\} is now defined as defaulted to $\{QPID_WORK\} and
> the default for a JsonVirtualHostNode.getPreferenceStoreAttributes() contains
> "$\{json:qpid.work_dir\}", and a (Windows) directory is likely to contain
> characters needing escaping... The broker currently doesn't work on Windows
> with a JsonVirtualHostNode
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]