[jboss-user] [JCA/JBoss] - Configuration of JCA Inflow Resource Adapter
garethevans
do-not-reply at jboss.com
Thu Jun 28 06:38:04 EDT 2007
I'm using jboss4.0.5.GA to connect to a legacy system via tcp. To do this I'm using a JCA inflow resource connected to an MDB. This is currently working as expected. My question how can I configure this in a maintainable way?
Currently the configuration sits within the ejb-jar.xml and jboss.xml files that are built into my ear file. An extract of my ejb-jar file is shown below:
<activation-config-property>
| <activation-config-property-name>txPort</activation-config-property-name>
| <activation-config-property-value>10001</activation-config-property-value>
| </activation-config-property>
|
| <activation-config-property>
| <activation-config-property-name>rxPort</activation-config-property-name>
| <activation-config-property-value>10002</activation-config-property-value>
| </activation-config-property>
|
| <activation-config-property>
| <activation-config-property-name>acknowledgementTimeout</activation-config-property-name>
| <activation-config-property-value>2000</activation-config-property-value>
| </activation-config-property>
|
| <activation-config-property>
| <activation-config-property-name>numberOfRetries</activation-config-property-name>
| <activation-config-property-value>3</activation-config-property-value>
| </activation-config-property>
|
Depending on customer requirements, I will need to change the port numbers etc, and even deploy more that one of these per install. Currently the only way i can find to do this is to change the jboss.xml and the ejb-jar.xml file.
Is there any way of configuring these outside of an ear file?
Can I configure this within a -ds.xml file even though I'm only using an inflow resource adapter?
Could I deploy these using a -service.xml file?
Thanks,
Gareth
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058668#4058668
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058668
More information about the jboss-user
mailing list