Class ManagedRuntimeEndpointRegistry
- java.lang.Object
-
- org.apache.camel.management.mbean.ManagedService
-
- org.apache.camel.management.mbean.ManagedRuntimeEndpointRegistry
-
- All Implemented Interfaces:
org.apache.camel.api.management.ManagedInstance
,org.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
,org.apache.camel.api.management.mbean.ManagedServiceMBean
@ManagedResource(description="Managed RuntimeEndpointRegistry") public class ManagedRuntimeEndpointRegistry extends ManagedService implements org.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
-
-
Constructor Summary
Constructors Constructor Description ManagedRuntimeEndpointRegistry(org.apache.camel.CamelContext context, org.apache.camel.spi.RuntimeEndpointRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
TabularData
endpointStatistics()
List<String>
getAllEndpoints(boolean includeInputs)
List<String>
getEndpointsPerRoute(String routeId, boolean includeInputs)
int
getLimit()
int
getSize()
void
init(org.apache.camel.spi.ManagementStrategy strategy)
boolean
isEnabled()
void
reset()
void
setEnabled(boolean enabled)
-
Methods inherited from class org.apache.camel.management.mbean.ManagedService
getCamelId, getCamelManagementName, getContext, getInstance, getRoute, getRouteId, getService, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, setRoute, start, stop, suspend
-
-
-
-
Constructor Detail
-
ManagedRuntimeEndpointRegistry
public ManagedRuntimeEndpointRegistry(org.apache.camel.CamelContext context, org.apache.camel.spi.RuntimeEndpointRegistry registry)
-
-
Method Detail
-
init
public void init(org.apache.camel.spi.ManagementStrategy strategy)
- Overrides:
init
in classManagedService
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
-
reset
public void reset()
- Specified by:
reset
in interfaceorg.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceorg.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interfaceorg.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
-
getLimit
public int getLimit()
- Specified by:
getLimit
in interfaceorg.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
-
getSize
public int getSize()
- Specified by:
getSize
in interfaceorg.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
-
getAllEndpoints
public List<String> getAllEndpoints(boolean includeInputs)
- Specified by:
getAllEndpoints
in interfaceorg.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
-
getEndpointsPerRoute
public List<String> getEndpointsPerRoute(String routeId, boolean includeInputs)
- Specified by:
getEndpointsPerRoute
in interfaceorg.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
-
endpointStatistics
public TabularData endpointStatistics()
- Specified by:
endpointStatistics
in interfaceorg.apache.camel.api.management.mbean.ManagedRuntimeEndpointRegistryMBean
-
-