Examples of disableStatistics()


Examples of org.apache.synapse.aspects.AspectConfiguration.disableStatistics()

            lock.lock();
            ProxyService proxy = getSynapseConfiguration().getProxyService(proxyName);
            if (proxy != null) {
                if (proxy.getAspectConfiguration() == null) {
                    AspectConfiguration config = new AspectConfiguration(proxyName);
                    config.disableStatistics();
                    proxy.configure(config);
                } else {
                    proxy.getAspectConfiguration().disableStatistics();
                }
                persistProxyService(proxy);
View Full Code Here

Examples of org.apache.synapse.mediators.base.SequenceMediator.disableStatistics()

        try {
            lock.lock();
            SequenceMediator sequence
                    = (SequenceMediator) getSynapseConfiguration().getSequence(sequenceName);
            if (sequence != null) {
                sequence.disableStatistics();
                persistSequence(sequence);
                return sequenceName;
            } else {
                handleException("No defined sequence with name " + sequenceName
                        + " found to disable statistics in the Synapse configuration");
View Full Code Here

Examples of org.apache.synapse.mediators.template.TemplateMediator.disableStatistics()

        try {
            lock.lock();
            TemplateMediator template;
            template = (TemplateMediator) getSynapseConfiguration().getSequenceTemplate(templateName);
            if (template != null) {
                template.disableStatistics();
                persistTemplate(template);
                return templateName;
            } else {
                handleException("No defined template with name " + templateName
                                + " found to disable statistics in the Synapse configuration");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.