Endrigo,

What kind of JBI artifact is your custom bean (lwcontainer POJO, JBI
Component, ...)?  Without doing anything else, you only get the default
information for that type of artifact in your JMX console (e.g. endpoint
information).  

If you allow more specific methods/attributes of your bean to be available
in JMX, you're looking at coding your own MBean interfaces for that.  You
can look at ServiceMix's AbstractAuditor, AuditorMBean and BaseSystemService
classes for an example on how use these JMX-specific constructs.


Gert



Endrigo Antonini wrote:
> 
> Hi,
> 
>  
> 
> I developed some custom Beans to ServiceMix 3.0.1.
> 
> I'm trying to access these beans through the JMX Console, but it doesn't
> appears there!!!
> 
> Am I forgetting something?
> 
>  
> 
> Do I have to extends or implements some special Class to appear there?
> Or did I have to put some parameters um my servicemix.xml file?
> 
>  
> 
> My Class extends
> org.apache.servicemix.components.util.PollingComponentSupport and
> implements org.apache.servicemix.MessageExchangeListener.
> 
>  
> 
>  
> 
> Tks,
> 
> Endrigo
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JMX-Console-tf3942733s12049.html#a11192350
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to