Hi,

I advice to use the Karaf ConfigMBean providing the same operations as config:* commands.

The ObjectName is org.apache.karaf:type=Config

Regards
JB

On 10/14/2015 01:54 PM, ngocthobkdn wrote:
Hi,

I connect to a remote Karaf using JMX, and i want to update a configuration
of a remote bundle
However, i don't know how to declare the filter in the method
getConfigurations(????).

ObjectName configObject = new
ObjectName("osgi.compendium:service=cm,version=1.3,"
                                +
"framework=org.apache.felix.framework,uuid=48797b91-72ff-4adc-8459-77b6d2139dc8");

ConfigurationAdminMBean configMBean = JMX.newMBeanProxy(mbsc, configObject,
                                ConfigurationAdminMBean.class);
String [][] con = configMBean.getConfigurations(????);

Anyone helps me, please ?

Thanks,



--
View this message in context: 
http://karaf.922171.n3.nabble.com/How-to-use-ConfigurationAdminMBean-with-JMX-and-Karaf-tp4043086.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to