jbossas/jboss-as — pull request #777 by jaikiran (2011-12-01 14:58:02+00:00)
Title: Fix for a couple of MDB and resource adapter issues

The commits in this branch fix a couple of issues related to MDBs and resource adapters which have been reported in https://issues.jboss.org/browse/AS7-2505 and https://issues.jboss.org/browse/AS7-1844. To summarize, the fixes in this branch include:

1) The ServiceName for the resource adapter dependency wasn't being correctly returned. This has now been fixed to return the ServiceName of the first activation of the resource adapter so that the EJB3 MDB component can depend on that service name

2) The MDB component create service wasn't setting up a dependency on the resource adapter. This has now been fixed to ensure that the MDB component create service has that RA dependency

3) A minor logging fix and a test case for AS7-2505