[jboss-dev] EJB3 DevForum: Resource adapter file name hard coded into ejb3/MessagingContainer

Clebert Suconic csuconic at redhat.com
Thu Apr 23 11:31:50 EDT 2009


https://jira.jboss.org/jira/browse/JBAS-6820

I would have marked it as blocker. I set it for Critical for now.

Jesper Pedersen wrote:
> On Thursday 23 April 2009 09:11:28 Clebert Suconic wrote:
>   
>>  > 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?
>>     
>
> There are plans to include a JBoss JCA SPI in the new container implementation 
> such that these integration issues can be easier fix.
>
> MDBs is of course one of the use-cases.
>
> Best regards,
>  Jesper
>   




More information about the jboss-development mailing list