You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Endrigo Antonini <en...@datasul.com.br> on 2007/06/18 22:48:50 UTC

JMX Console

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

 


RES: JMX Console

Posted by Endrigo Antonini <en...@datasul.com.br>.
Hi,

Gert, or some one can help me?


Endrigo
 

-----Mensagem original-----
De: Endrigo Antonini [mailto:endrigo.antonini@datasul.com.br] 
Enviada em: terça-feira, 19 de junho de 2007 09:11
Para: servicemix-users@geronimo.apache.org
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:gert.vanthienen@skynet.be] 
Enviada em: terça-feira, 19 de junho de 2007 07:52
Para: servicemix-users@geronimo.apache.org
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.


RES: JMX Console

Posted by Endrigo Antonini <en...@datasul.com.br>.
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:gert.vanthienen@skynet.be] 
Enviada em: terça-feira, 19 de junho de 2007 07:52
Para: servicemix-users@geronimo.apache.org
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.


Re: JMX Console

Posted by Gert Vanthienen <ge...@skynet.be>.
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.