You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Thomas TERMIN <tt...@blue-elephant-systems.com> on 2006/08/24 17:42:53 UTC
MBeans
Hello,
Is there a concept to register own MBeans in servicemix? For example
like in JBoss as a service deployment.
Regards
Thomas
Re: MBeans
Posted by Guillaume Nodet <gn...@gmail.com>.
A component can register mbeans when initialized and unregister
them when shutdown, using the following helper class to
create the mbean name:
http://incubator.apache.org/servicemix/maven/servicemix-jbi/apidocs/javax/jbi/management/MBeanNames.html
which can be retrieved on the component context.
Else, you can register any mbean you want using spring, or direct mbean
calls,
but there' s no specific stuff to deploy such things as in JBoss. Though
you may be able to leverage servicemix-lwcontainer and deploy a spring
file to register your mbeans (though you will need to deploy at least a
dummy activation spec).
On 8/24/06, Thomas TERMIN <tt...@blue-elephant-systems.com> wrote:
>
> Hello,
>
> Is there a concept to register own MBeans in servicemix? For example
> like in JBoss as a service deployment.
>
> Regards
> Thomas
>
>
--
Cheers,
Guillaume Nodet