[
https://issues.apache.org/jira/browse/QPID-8307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16835866#comment-16835866
]
ASF subversion and git services commented on QPID-8307:
-------------------------------------------------------
Commit 6dc4f78e7fca09b6466103324f388715d5c43327 in qpid-broker-j's branch
refs/heads/master from Alex Rudyy
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=6dc4f78 ]
QPID-8307:[Broker-J][Documentation] Document how to specify virtualhost initial
configuration
> Broker-J - Document the virtualHostInitialConfiguration
> -------------------------------------------------------
>
> Key: QPID-8307
> URL: https://issues.apache.org/jira/browse/QPID-8307
> Project: Qpid
> Issue Type: Bug
> Components: Broker-J, Java Documentation
> Affects Versions: qpid-java-broker-7.1.2
> Reporter: Tom Jordahl
> Priority: Major
>
> There is no document of the virtualHostInitialConfiguration item in the JSON
> initial configuration file.
> This is important for any automated configuration of the Qpid broker - for
> instance a chef recipe configuration of a virtual host that wants a "Node
> Creation Policy" defined at startup.
> In response to a question on Qpid-users (reference
> [http://qpid.2158936.n2.nabble.com/Qpid-Broker-J-Configuring-nodeAutoCreationPolicies-for-an-BDB-HA-cluster-from-json-td7683530.html]
> )
> On 5/1/19, 3:09 PM, "Oleksandr Rudyy" <[email protected]> wrote:
> Hi Tom,
> The node auto creation policies can be set on virtual host only, as it is
> an attribute of virtual host. Adding policies into virtual host node
> configuration does not have any effect. The settings are simply ignored
> and
> removed on configuration update.
> If you need to have the policies in broker initial configuration, you can
> add them into virtual host inital configuration. Though, at the moment,
> virtualHostInitialConfigurati can only have string values. Thus, you need
> to stringify your policy json.
> For example,
> ...
> "virtualHostInitialConfiguration":
>
> "\{\"type\":\"BDB_HA\",\"context\":{},\"name\":\"$parent.name\",\"nodeAutoCreationPolicies\":
> [\{\"pattern\":\"*\",\"nodeType\":\"Queue\" ... }]}"
> ...
> Kind Regards,
> Alex
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]