Package org.apache.camel.spi

Examples of org.apache.camel.spi.ManagementNameStrategy


        final ManagementStrategy managementStrategy = context.getManagementStrategy();

        final ManagementAgent managementAgent = managementStrategy.getManagementAgent();
        managementAgent.setMBeanServerDefaultDomain("org.apache.camel");

        final ManagementNameStrategy managementNameStrategy = context.getManagementNameStrategy();
        managementNameStrategy.setNamePattern("CustomName-#name#");

        // Add a simple test route
        context.addRoutes(new RouteBuilder() {
            @Override
            public void configure() throws Exception {
View Full Code Here

TOP

Related Classes of org.apache.camel.spi.ManagementNameStrategy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.