[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: ManagedObject support in next messaging release

scott.stark@jboss.org do-not-reply at jboss.com
Tue Sep 11 15:13:36 EDT 2007


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#4083157

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083157



More information about the jboss-dev-forums mailing list