Yes, I would say it should be in AS or an AS specific codebase outside of the jms core.
You simply need to annotate the service mbean code class:
| import org.jboss.managed.api.ManagedOperation.Impact;
| import org.jboss.managed.api.annotation.ManagementObject;
| import org.jboss.managed.api.annotation.ManagementObjectID;
| import org.jboss.managed.api.annotation.ManagementOperation;
| import org.jboss.managed.api.annotation.ManagementParameter;
| import org.jboss.managed.api.annotation.ManagementProperties;
| import org.jboss.managed.api.annotation.ManagementProperty;
| import org.jboss.managed.api.annotation.ViewUse;
|
|
@ManagementObject(componentType=@ManagementComponent(type="JMSDestination",subtype="Queue"),
properties=ManagementProperties.EXPLICIT)
| class QueueService
| {
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083157#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...