[jboss-dev-forums] [Design of POJO Server] - Why do Topic/Queue descriptors need extra metadata in order

charles.crouch@jboss.com do-not-reply at jboss.com
Thu Nov 20 15:49:40 EST 2008


Looking at our example queues...

http://anonsvn.jboss.org/repos/jbossas/trunk/messaging/src/etc/deploy/common/destinations-service.xml

I see they contain the following piece of metadata:

<annotation>
  | @org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)
  | </annotation>   

This appears to be needed in order for the Queue/Topic to be reachable through the profile service. The only problem with this is all the existing Topic/Queue descriptors created by users which won't have the extra metadata.

Is there anyway to avoid having to get people to update all of their deployment descriptors in order to make these resources manageable?

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191038#4191038

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



More information about the jboss-dev-forums mailing list