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

Tomaz Cerar (JIRA) jira-events at lists.jboss.org
Mon Sep 3 12:34:32 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar updated AS7-5482:
-----------------------------

       Assignee: Jesper Pedersen  (was: Alexey Loubyansky)
    Description: 
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)






  was:
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
{code}/subsystem=resource-adapters/resource-adapter=wmq.jmsra.rar/connection-definitions=MQConnectionFactory:write-attribute(name=min-pool-size,value=10)
{code}
Where the XML is:
{code}<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>
{code}

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





    Component/s: Domain Management
                 JCA
                     (was: CLI)

    
> 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: Domain Management, JCA
>    Affects Versions: 7.1.2.Final (EAP)
>            Reporter: Akram Ben Aissi
>            Assignee: Jesper Pedersen
>
> 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