org.fusesource.fabric.camel.facade
Interface CamelFacade

All Known Implementing Classes:
CamelFacadeSupport, JmxTemplateCamelFacade, LocalCamelFacade, RemoteJMXCamelFacade

public interface CamelFacade


Method Summary
 java.lang.String dumpRoutesStatsAsXml(java.lang.String managementName)
          Dumps the performance statistics of all the routes for the given CamelContext, as XML
 CamelContextMBean getCamelContext(java.lang.String managementName)
          Gets the CamelContext
 java.util.List<CamelContextMBean> getCamelContexts()
          Gets all the CamelContexts in the JVM
 java.util.List<CamelComponentMBean> getComponents(java.lang.String managementName)
          Gets all the components of the given CamelContext
 java.util.List<CamelConsumerMBean> getConsumers(java.lang.String managementName)
          Gets all the consumers of the given CamelContext
 java.util.List<CamelEndpointMBean> getEndpoints(java.lang.String managementName)
          Gets all the endpoints of the given CamelContext
 CamelFabricTracerMBean getFabricTracer(java.lang.String managementName)
          Gets the fabric tracer
 java.util.List<CamelProcessorMBean> getProcessors(java.lang.String managementName)
          Gets all the processors of the given CamelContext
 java.util.List<CamelRouteMBean> getRoutes(java.lang.String managementName)
          Gets all the routes of the given CamelContext
 java.util.List<CamelThreadPoolMBean> getThreadPools(java.lang.String managementName)
          Gets all the thread pools created and managed by the given CamelContext
 

Method Detail

getCamelContexts

java.util.List<CamelContextMBean> getCamelContexts()
                                                   throws java.lang.Exception
Gets all the CamelContexts in the JVM

Throws:
java.lang.Exception

getFabricTracer

CamelFabricTracerMBean getFabricTracer(java.lang.String managementName)
                                       throws java.lang.Exception
Gets the fabric tracer

Parameters:
managementName - the camel context management name (not context id)
Throws:
java.lang.Exception

getCamelContext

CamelContextMBean getCamelContext(java.lang.String managementName)
                                  throws java.lang.Exception
Gets the CamelContext

Parameters:
managementName - the camel context management name (not context id)
Throws:
java.lang.Exception

getComponents

java.util.List<CamelComponentMBean> getComponents(java.lang.String managementName)
                                                  throws java.lang.Exception
Gets all the components of the given CamelContext

Parameters:
managementName - the camel context management name (not context id)
Throws:
java.lang.Exception

getRoutes

java.util.List<CamelRouteMBean> getRoutes(java.lang.String managementName)
                                          throws java.lang.Exception
Gets all the routes of the given CamelContext

Parameters:
managementName - the camel context management name (not context id)
Throws:
java.lang.Exception

getEndpoints

java.util.List<CamelEndpointMBean> getEndpoints(java.lang.String managementName)
                                                throws java.lang.Exception
Gets all the endpoints of the given CamelContext

Parameters:
managementName - the camel context management name (not context id)
Throws:
java.lang.Exception

getConsumers

java.util.List<CamelConsumerMBean> getConsumers(java.lang.String managementName)
                                                throws java.lang.Exception
Gets all the consumers of the given CamelContext

Parameters:
managementName - the camel context management name (not context id)
Throws:
java.lang.Exception

getProcessors

java.util.List<CamelProcessorMBean> getProcessors(java.lang.String managementName)
                                                  throws java.lang.Exception
Gets all the processors of the given CamelContext

Parameters:
managementName - the camel context management name (not context id)
Throws:
java.lang.Exception

getThreadPools

java.util.List<CamelThreadPoolMBean> getThreadPools(java.lang.String managementName)
                                                    throws java.lang.Exception
Gets all the thread pools created and managed by the given CamelContext

Parameters:
managementName - the camel context management name (not context id)
Throws:
java.lang.Exception

dumpRoutesStatsAsXml

java.lang.String dumpRoutesStatsAsXml(java.lang.String managementName)
                                      throws java.lang.Exception
Dumps the performance statistics of all the routes for the given CamelContext, as XML

Parameters:
managementName - the camel context management name (not context id)
Throws:
java.lang.Exception


Copyright © 2015 Red Hat. All Rights Reserved.