[jboss-dev] EJB3 DevForum: Resource adapter file name hard coded into ejb3/MessagingContainer
Clebert Suconic
csuconic at redhat.com
Thu Apr 23 09:11:28 EDT 2009
> From what i see in the code
(org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec())
the only reason why the rar-name is being used is to get hold of the
resource adapter MBean for creating the activation spec.
Isn' t there a better way of doing this?
It sounds like a hack to me. the rar-name is already specified on the
tx-connection-factory, and the MDB has a reference to the factory being
used, so IMO you shouldn' t need any other reference to the rar. JCA
should provide you some decent way of getting what you needed without
adding the hard link.
Jesper: What do you think?
More information about the jboss-development
mailing list