User development,
A new message was posted in the thread "How to reference an embedded JCA resource
adapater":
http://community.jboss.org/message/529148#529148
Author : Shane McEneaney
Profile :
http://community.jboss.org/people/smceneaney
Message:
--------------------------------------------------------------
Hi C G,
I too have a RAR contained inside an EAR. We build using maven 2 and use a variable
property to define the name of the EAR and RAR. In our case the version number changes all
of the time. Ant has similar capabilities to include property values that are
filtered/replaced at build time.
See jboss.xml snippet below.
<jboss>
<enterprise-beans>
<message-driven>
<ejb-name>SampleOneMDB</ejb-name>
<resource-adapter-name>my-system-${project.version}.ear#my-rar-${project.version}.rar</resource-adapter-name>
</message-driven>
<message-driven>
<ejb-name>SampleTwoMDB</ejb-name>
<resource-adapter-name>my-system-${project.version}.ear#my-rar-${project.version}.rar</resource-adapter-name>
</message-driven>
<message-driven>
<ejb-name>SampleOThreeMDB</ejb-name>
<resource-adapter-name>my-system-${project.version}.ear#my-rar-${project.version}.rar</resource-adapter-name>
</message-driven>
</enterprise-beans>
</jboss>
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/529148#529148