@Path(value="camelRoutes") public interface CamelRouteService extends JAXRSService
PARAM_ANYTYPE_KIND, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_RESOURCE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
List<CamelRouteTO> |
list(AnyTypeKind anyTypeKind)
List all routes for the given any type kind.
|
CamelMetrics |
metrics()
Provides Camel metrics.
|
CamelRouteTO |
read(AnyTypeKind anyTypeKind,
String key)
Read the route with the given key.
|
void |
restartContext()
Restart the underlying Apache Camel context.
|
void |
update(AnyTypeKind anyTypeKind,
CamelRouteTO route)
Update the given route.
|
@GET
@Path(value="{anyTypeKind}")
@Produces(value={"application/json","application/yaml","application/xml"})
List<CamelRouteTO> list(@NotNull @PathParam(value="anyTypeKind")
AnyTypeKind anyTypeKind)
anyTypeKind - any type kind@GET
@Path(value="{anyTypeKind}/{key}")
@Produces(value={"application/json","application/yaml","application/xml"})
CamelRouteTO read(@NotNull @PathParam(value="anyTypeKind")
AnyTypeKind anyTypeKind,
@NotNull @PathParam(value="key")
String key)
anyTypeKind - any type kindkey - route key@PUT
@Path(value="{anyTypeKind}/{key}")
@Consumes(value={"application/json","application/yaml","application/xml"})
@Produces(value={"application/json","application/yaml","application/xml"})
void update(@NotNull @PathParam(value="anyTypeKind")
AnyTypeKind anyTypeKind,
@NotNull
CamelRouteTO route)
anyTypeKind - any type kindroute - to be updated@POST
@Path(value="restartContext")
@Produces(value={"application/json","application/yaml","application/xml"})
void restartContext()
@GET
@Path(value="metrics")
@Produces(value={"application/json","application/yaml","application/xml"})
CamelMetrics metrics()
Copyright © 2010–2019 The Apache Software Foundation. All rights reserved.