Find mbeans for mdbs that have a @ResourceAdapter

Solution In Progress - Updated -

Issue

We would like to have a way of finding all mbeans of mdbs that have a @ResourceAdapter configured on it.

for instance if I have:

@MessageDriven(name = "MdbBar1", activationConfig = {
        @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
        @ActivationConfigProperty(propertyName = "destination", propertyValue = "com/abcdef/Infrastructure/EAP6TemplateRemoteQueues/jms/eap6template/Queue")
})
@ResourceAdapter("A.Infrastructure.EAP6TemplateRemoteQueues")
public class HelloMDBRemote implements MessageListener {

and

@MessageDriven(
        name = "HelloMDB",
        activationConfig = {
                @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
                @ActivationConfigProperty(propertyName = "destination", propertyValue = "com/abcdef/jee/Arte/EAP6Template/jms/My/Queue")
        })
public class HelloMDB implements MessageListener {

I would like to have a way of finding:

jboss.as:deployment=EAP6Template-1.0.0-SNAPSHOT.ear,subdeployment=EAP6TemplateBusiness-1.0.0-SNAPSHOT.jar,subsystem=ejb3,message-driven-bean=MdbBar1

and not:

jboss.as:deployment=EAP6Template-1.0.0-SNAPSHOT.ear,subdeployment=EAP6TemplateBusiness-1.0.0-SNAPSHOT.jar,subsystem=ejb3,message-driven-bean=HelloMDB

Basically, I want to be able to distinguish mdbs that are configured with a resource adapter from those without.

Environment

Red Hat JBoss Enterprise Application Platform 6.4.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.