You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "sanketh.reddy" <sa...@gmail.com> on 2011/06/30 09:54:43 UTC

MBean Object doesn't have all the attributes when accessed via jmx

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
sanketh 

-----
thanks
sanketh
mail : sanketh.reddy@mu-sigma.com 
--
View this message in context: http://camel.465427.n5.nabble.com/MBean-Object-doesn-t-have-all-the-attributes-when-accessed-via-jmx-tp4537926p4537926.html
Sent from the Camel - Users mailing list archive at Nabble.com.