Hi,

What's servicemix version you're using? Could you try with service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root ?

Freeman
On 2011-6-30, at 下午3:53, sanre6 wrote:

HI,
i need to programmatically get the MessagesCompleted and MessagesFailed attributes from camel MBean for a consumer component . when i use the uri "service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi" as the JMXServiceURL , javax.management.ObjectName has very limited no of attributes that i can access . It doesn't have the above mentioned one's . But, when i access the local process org.apache.karaf.main.Main it contains all the attributes .

So, Do i need to enable something to get all the attributes in my camel
config ?

or how can i access the local process org.apache.karaf.main.Main via JMX


Thanks
sanre6

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/MBean-Object-doesn-t-have-all-the-attributes-when-accessed-via-jmx-tp4537920p4537920.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to