Bug 1178229

Summary: [GSS] (6.4.0) Creating a pooled-connection-factory via the CLI requires confusing syntax
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Kyle Lape <klape>
Component: HornetQAssignee: Kyle Lape <klape>
Status: CLOSED CURRENTRELEASE QA Contact: Miroslav Novak <mnovak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: kkhan, msvehla, myarboro
Target Milestone: ER1   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kyle Lape 2015-01-02 23:26:16 UTC
When creating a pooled-connection factory via the CLI the syntax for the "connector" is confusing. Here is a simple example:

  /subsystem=messaging/hornetq-server=default/pooled-connection-factory=my-pooled-connection-factory/:add(connector={"in-vm" => "xyz"}, entries=["java:/MyPooledCF"])

The "connector" wants a list of name-value pairs, but only the name is taken into consideration. This command results in this XML:

<pooled-connection-factory name="my-pooled-connection-factory">
    <connectors>
        <connector-ref connector-name="in-vm"/>
    </connectors>
    <entries>
        <entry name="java:/MyPooledCF"/>
    </entries>
</pooled-connection-factory>

The "xyz" is completely unnecessary.

Comment 2 Ondřej Kalman 2015-01-13 15:02:51 UTC
Verified with 6.4.0.ER1