[
http://jira.jboss.com/jira/browse/JBAS-3343?page=all ]
Dimitris Andreadis reassigned JBAS-3343:
----------------------------------------
Assignee: Vicky Kak (was: Weston Price)
JCA 1.5 Resource Adapter Config Properties cannot be specified
--------------------------------------------------------------
Key: JBAS-3343
URL:
http://jira.jboss.com/jira/browse/JBAS-3343
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: JCA service
Affects Versions: JBossAS-4.0.4.GA
Environment: All.
Reporter: Andreas Mueller
Assigned To: Vicky Kak
Fix For: JBossAS-5.0.0.CR1
Attachments: ra.xml
A JCA 1.5 resource adapter might contain config properties in ra.xml. It is not possible
in JBoss to override them with -ds.xml file.
For example, here is an excert of SwiftMQ's intraVM ra.xml:
<resourceadapter>
<resourceadapter-class>
com.swiftmq.connector.v15.ResourceAdapterImpl
</resourceadapter-class>
<config-property>
<config-property-name>ProviderURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>smqp://intravm/timeout=10000</config-property-value>
</config-property>
<config-property>
<config-property-name>IntraVM</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<config-property-name>DebugMode</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<config-property>
<config-property-name>RouterWorkingDirectory</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value><swiftmq_dir>/scripts/unix</config-property-value>
</config-property>
<config-property>
<config-property-name>ConfigurationFilename</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>../../config/router1/routerconfig.xml</config-property-value>
</config-property>
It is not possible to overwrite them during deployment. It is only possible to specify
the config properties of the ManagedConnectionFactory in -ds.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira