Hi!
Is it possible to register a mbean only if it's not already registered by another archive or service.xml?
I have the following mbean which installs a topic:
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
If I deploy the my-service.xml which contains the mbean above everything works fine. But if there's another service-archive already deployed which contained the same mbean the following exception occurs:
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.mq.destination:service=Topic,name=MyTopic
Is there any "optional" flag when defining mbeans?
Thanx!
no such flag at the moment