Hey Matt,
Karaf don't use a JMX whiteboard. We use MBeanServer exposed by 
org.apache.karaf.management.core bundle and simply register our mbeans with 
helper class called MBeanRegistrer [1].

Best regards,
Lukasz
--
Code-House
http://code-house.org

[1]  
https://github.com/apache/karaf/blob/trunk/management/server/src/main/java/org/apache/karaf/management/MBeanRegistrer.java



> Hello,
> I'm trying to instrument one of my Blueprint bean as follows:
> 
> package com.hcsc.ccsp.dupcheck.jms.tester;
> 
> public interface SendMsgServiceMBean {
>       public void sendMsg();
> }
> 
> public class AMQSendMsgService implements SendMsgServiceMBean{
> .....
> }
> 
>    <bean id="amqSendMsgServiceBean" 
> 
> class="com.hcsc.ccsp.dupcheck.jms.tester.internal.AMQSendMsgService" 
>                     init-method="init" destroy-method="destroy">
>       <property name = "connectionFactory" ref="connectionFactory"/>
>    </bean>
>       
>    <service id = "amqSendMsgService" 
>       ref="amqSendMsgServiceBean"
> interface="com.hcsc.ccsp.dupcheck.jms.tester.SendMsgServiceMBean">
>                       <service-properties>
>                               <entry key="jmx.objectname" 
> value="domain:name=sendMessage" />
>                       </service-properties>           
>    </service>        
> 
> I have deployed this in Karaf (Felix). I see that Karaf has Aries JMX and
> JMX Blueprint bundes.
> 
> In JConsole I not see my instrumented bean. 
> 
> Any ideas please? Am I missing some bundles?
> 
> Thanks in advance!
> 
> Matt
> 
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/KARAF-JMX-Aries-JMX-whiteboard-issue-tp3624040p3624040.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

Łukasz Dywicki
--
Code-House
Krasiczyńska 3/80
03-379 Warszawa



Reply via email to