You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@aries.apache.org by Matt Madhavan <ma...@gmail.com> on 2012/01/01 01:56:10 UTC

JMX/Aries issue

Hello,
I'm trying to instrument one of my Blueprint bean as follows:

package com.hcsc.ccsp.dupcheck.jms.tester;

public interface SendMsgService*MBea*n {
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