13 Replies Latest reply on Mar 28, 2007 11:45 AM by starksm64

    Depending on a MBean

    bill.burke

      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.