[
https://issues.jboss.org/browse/AS7-5482?page=com.atlassian.jira.plugin.s...
]
Jesper Pedersen closed AS7-5482.
--------------------------------
Resolution: Won't Fix
The DMR model can't be changed, so rejected
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
{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}
--
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