Hi,

Gert, or some one can help me?


Endrigo
 

-----Mensagem original-----
De: Endrigo Antonini [mailto:[EMAIL PROTECTED] 
Enviada em: terça-feira, 19 de junho de 2007 09:11
Para: [email protected]
Assunto: RES: JMX Console

Gert,

My Artifact it's a POJO. The funny situation is that, when I was using 
ServiceMix 3.0 snapshot, my MBeans was visible in JMX Console, but when I 
updated ServiceMix to 3.0.1 my MBeans have stoped becaming visible on JMX 
Console.


Endrigo


-----Mensagem original-----
De: Gert Vanthienen [mailto:[EMAIL PROTECTED] 
Enviada em: terça-feira, 19 de junho de 2007 07:52
Para: [email protected]
Assunto: Re: JMX Console


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