[ https://issues.apache.org/jira/browse/QPID-8307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy reassigned QPID-8307: -------------------------------- Assignee: Alex Rudyy > 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 > Assignee: Alex Rudyy > Priority: Major > 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" <oru...@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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org