[jboss-dev-forums] [Design of POJO Server] - Depending on a MBean
bill.burke@jboss.com
do-not-reply at jboss.com
Tue Mar 27 20:04:54 EDT 2007
Ran into a funny problem. I wanted an MDB in JBoss 5 to depend on a Queue so that it wouldn't try to create a temporary queue. So, I added a @Depends tag to what I typed in the service.xml file.
The problem is, that the MBean deployer registers a canonical name with the registry and didn't realize that the @Depends tag didn't match the canonical name (but it did match the name in the service.xml file)
People are going to run into this problem all over the place.
My first suggestion would be to register the string and not the canonical name. So that users won't make the mistake.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032256#4032256
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032256
More information about the jboss-dev-forums
mailing list