public interface RuntimeEndpointRegistry extends StaticService
Endpoint
during routing in Camel.Modifier and Type | Method and Description |
---|---|
List<String> |
getAllEndpoints(boolean includeInputs)
Gets all the endpoint uris captured during runtime routing that are in-use of the routes.
|
List<String> |
getEndpointsPerRoute(String routeId,
boolean includeInputs)
Gets all the endpoint uris captured from the given route during runtime routing that are in-use of the routes.
|
int |
getLimit()
Maximum number of endpoints to keep in the cache per route.
|
boolean |
isEnabled()
Whether gathering runtime usage is enabled or not.
|
void |
reset()
Clears the runtime usage gathered
|
void |
setEnabled(boolean enabled)
Sets whether gathering runtime usage is enabled or not.
|
void |
setLimit(int limit)
Sets the maximum number of endpoints to keep in the cache per route.
|
int |
size()
Number of endpoints currently in the cache.
|
boolean isEnabled()
void setEnabled(boolean enabled)
int getLimit()
void setLimit(int limit)
void reset()
int size()
List<String> getAllEndpoints(boolean includeInputs)
includeInputs
- whether to include route inputsList<String> getEndpointsPerRoute(String routeId, boolean includeInputs)
routeId
- the route idincludeInputs
- whether to include route inputsApache Camel