[jboss-jira] [JBoss JIRA] (AS7-5482) Improve regularity of CLI syntax to add connection-definition in resource-adapter subsystem

Akram Ben Aissi (JIRA) jira-events at lists.jboss.org
Mon Sep 3 12:30:32 EDT 2012


Akram Ben Aissi created AS7-5482:
------------------------------------

             Summary: Improve regularity of CLI syntax to add connection-definition in resource-adapter subsystem
                 Key: AS7-5482
                 URL: https://issues.jboss.org/browse/AS7-5482
             Project: Application Server 7
          Issue Type: Enhancement
          Components: CLI
    Affects Versions: 7.1.2.Final (EAP)
            Reporter: Akram Ben Aissi
            Assignee: Alexey Loubyansky


The syntax to add a pool in a connection-definition in resource-adapter subsystem is not as regular as expected in comparison with the other CLI commands.

e.g: To set the min-pool-size
/subsystem=resource-adapters/resource-adapter=wmq.jmsra.rar/connection-definitions=MQConnectionFactory:write-attribute(name=min-pool-size,value=10)

Where the XML is:
<connection-definitions>
                        <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedQueueConnectionFactoryImpl" jndi-name="java:/jboss/jms/wmqcf" use-java-context="true" pool-name="MQConnectionFactory">
                            <pool>
                                <min-pool-size>1</min-pool-size>
                                <max-pool-size>10</max-pool-size>
                            </pool>
</connection-definition>

One would expect the syntax to be more:
/subsystem=resource-adapters/resource-adapter=wmq.jmsra.rar/connection-definitions=MQConnectionFactory/pool:write-attribute(name=min-pool-size,value=10)






--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list