001/**
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements.  See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache License, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License.  You may obtain a copy of the License at
008 *
009 *      http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017package org.apache.camel.management;
018
019/**
020 * This module contains jmx related system property key constants.
021 *
022 * @version 
023 */
024public final class JmxSystemPropertyKeys {
025
026    // disable jmx
027    public static final String DISABLED = "org.apache.camel.jmx.disabled";
028
029    // jmx (rmi registry) port
030    public static final String REGISTRY_PORT = "org.apache.camel.jmx.rmiConnector.registryPort";
031    
032    // jmx (rmi server connection) port
033    public static final String CONNECTOR_PORT = "org.apache.camel.jmx.rmiConnector.connectorPort";
034
035    // jmx domain name
036    public static final String DOMAIN = "org.apache.camel.jmx.mbeanServerDefaultDomain";
037    
038    // the domain name for the camel mbeans
039    public static final String MBEAN_DOMAIN = "org.apache.camel.jmx.mbeanObjectDomainName";
040
041    // JMX service URL path 
042    public static final String SERVICE_URL_PATH = "org.apache.camel.jmx.serviceUrlPath";
043    
044    // A flag that indicates whether the agent should be created
045    public static final String CREATE_CONNECTOR = "org.apache.camel.jmx.createRmiConnector";
046    
047    // use jvm platform mbean server flag
048    public static final String USE_PLATFORM_MBS = "org.apache.camel.jmx.usePlatformMBeanServer";
049
050    // whether all processors or only processors with a custom id given should be registered
051    public static final String ONLY_REGISTER_PROCESSOR_WITH_CUSTOM_ID = "org.apache.camel.jmx.onlyRegisterProcessorWithCustomId";
052
053    // whether to register always
054    public static final String REGISTER_ALWAYS = "org.apache.camel.jmx.registerAlways";
055
056    // whether to register when starting new routes
057    public static final String REGISTER_NEW_ROUTES = "org.apache.camel.jmx.registerNewRoutes";
058
059    // Whether to remove detected sensitive information (such as passwords) from MBean names and attributes.
060    public static final String MASK = "org.apache.camel.jmx.mask";
061
062    // Whether to include host name in MBean naes
063    public static final String INCLUDE_HOST_NAME = "org.apache.camel.jmx.includeHostName";
064
065    private JmxSystemPropertyKeys() {
066        // not instantiated
067    }
068
069}