[
https://jira.jboss.org/jira/browse/JBAS-7633?page=com.atlassian.jira.plug...
]
jaikiran pai commented on JBAS-7633:
------------------------------------
Done in r102040.
ejb3-as-deployers-jboss-beans.xml
(
http://anonsvn.jboss.org/repos/jbossas/trunk/ejb3/src/resources/META-INF/...)
which gets placed to JBOSS_HOME/server/<
servername>/deployers/ejb3.deployer/META-INF/ejb3-as-deployers-jboss-beans.xml now has
a configurable MC bean where you can set the default resource adapter name for EJB3 MDBs:
<!-- Setup the default JMS resource adapter name to be used for EJB3.x Message Driven
Beans which
do *not* explicitly set the resource adapter name -->
<bean name="DefaultJMSRANameProcessor"
class="org.jboss.as.ejb3.metadata.processor.DefaultJMSResourceAdapterMetadataProcessorFactory">
<constructor>
<!-- The default resource adapter name -->
<parameter
class="java.lang.String">jms-ra.rar</parameter>
</constructor>
</bean>
The param being passed can be changed to any appropriate value (for example, once HornetQ
is integrated in AS, it can be set to hornetq-ra.rar).
Allow for configuring default resource adaptor name for the EJB3
MDBs
---------------------------------------------------------------------
Key: JBAS-7633
URL:
https://jira.jboss.org/jira/browse/JBAS-7633
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Components: EJB3
Reporter: jaikiran pai
Assignee: jaikiran pai
Fix For: JBossAS-6.0.0.M3
Allow a configurable approach for setting the *default* resource adaptor name on MDB
within a runtime (ex: AS, EAP).
The default resource adaptor names currently is set in EJB3 code to jms-ra.rar. Instead,
it's the runtime environment which should set this default value. So for AS 6, once it
moves to HornetQ, it can set it to the HornetQ resource adaptor name and for EAP-5, it can
be set to the jms-ra.rar.
See the referenced forum thread for details.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira