You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2019/05/08 22:21:01 UTC

[jira] [Updated] (QPID-8307) [Broker-J] Document the virtualHostInitialConfiguration

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

Alex Rudyy updated QPID-8307:
-----------------------------
    Summary: [Broker-J] Document the virtualHostInitialConfiguration  (was: Broker-J - Document the virtualHostInitialConfiguration)

> [Broker-J] Document the virtualHostInitialConfiguration
> -------------------------------------------------------
>
>                 Key: QPID-8307
>                 URL: https://issues.apache.org/jira/browse/QPID-8307
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Broker-J, Java Documentation
>    Affects Versions: qpid-java-broker-7.1.2
>            Reporter: Tom Jordahl
>            Assignee: Alex Rudyy
>            Priority: Trivial
>             Fix For: qpid-java-broker-8.0.0, qpid-java-broker-7.1.3
>
>
> 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" <or...@gmail.com> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org