[jboss-jira] [JBoss JIRA] (WFLY-3883) use a LIST for the JMS connection-factory's connector attribute

Jeff Mesnil (JIRA) issues at jboss.org
Mon Sep 22 05:49:02 EDT 2014


Jeff Mesnil created WFLY-3883:
---------------------------------

             Summary: use a LIST for the JMS connection-factory's connector attribute
                 Key: WFLY-3883
                 URL: https://issues.jboss.org/browse/WFLY-3883
             Project: WildFly
          Issue Type: Enhancement
          Components: JMS
    Affects Versions: 9.0.0.Alpha1
            Reporter: Jeff Mesnil
            Assignee: Jeff Mesnil
             Fix For: 9.0.0.Beta1


The messaging's resources connection-factory and pooled-connection-factory use a MODEL type to represent their connectors.
This is for legacy version, as the first version of HornetQ that was integrated was required to specify a backup connector for each live connector. This was then discarded but the type of the attribute was not changed.

Currently, the connector attribute is represented as a DMR Object but only its keys are meaningful:

"connector" => {
  "in-vm" => undefined,
  "foo" => undefined
}

This complicates adding resources from the command line.
Now that we support resource transformations, the connector attribute should be represented as a list of STRING (and converted to its old representation for legacy version) so that the users can simply specify:

"connector" => ["in-vm", "foo"]




--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list