@ManagedResource(description="Service Registration Route policy")
public class ServiceRegistrationRoutePolicy
extends org.apache.camel.support.RoutePolicySupport
implements org.apache.camel.CamelContextAware
| Constructor and Description |
|---|
ServiceRegistrationRoutePolicy() |
ServiceRegistrationRoutePolicy(org.apache.camel.cloud.ServiceRegistry.Selector serviceRegistrySelector) |
ServiceRegistrationRoutePolicy(org.apache.camel.cloud.ServiceRegistry serviceRegistry,
org.apache.camel.cloud.ServiceRegistry.Selector serviceRegistrySelector) |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
org.apache.camel.CamelContext |
getCamelContext() |
void |
onResume(org.apache.camel.Route route) |
void |
onStart(org.apache.camel.Route route) |
void |
onStop(org.apache.camel.Route route) |
void |
onSuspend(org.apache.camel.Route route) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
controller, doStop, getExceptionHandler, handleException, onExchangeBegin, onExchangeDone, onInit, onRemove, resumeOrStartConsumer, resumeRoute, setExceptionHandler, startConsumer, startRoute, stopConsumer, stopRoute, stopRoute, stopRouteAsync, suspendOrStopConsumer, suspendRoute, suspendRoutebuild, doBuild, doInit, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic ServiceRegistrationRoutePolicy()
public ServiceRegistrationRoutePolicy(org.apache.camel.cloud.ServiceRegistry.Selector serviceRegistrySelector)
public ServiceRegistrationRoutePolicy(org.apache.camel.cloud.ServiceRegistry serviceRegistry,
org.apache.camel.cloud.ServiceRegistry.Selector serviceRegistrySelector)
public org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic void doStart()
throws Exception
doStart in class org.apache.camel.support.RoutePolicySupportExceptionpublic void onStart(org.apache.camel.Route route)
onStart in interface org.apache.camel.spi.RoutePolicyonStart in class org.apache.camel.support.RoutePolicySupportpublic void onStop(org.apache.camel.Route route)
onStop in interface org.apache.camel.spi.RoutePolicyonStop in class org.apache.camel.support.RoutePolicySupportpublic void onSuspend(org.apache.camel.Route route)
onSuspend in interface org.apache.camel.spi.RoutePolicyonSuspend in class org.apache.camel.support.RoutePolicySupportpublic void onResume(org.apache.camel.Route route)
onResume in interface org.apache.camel.spi.RoutePolicyonResume in class org.apache.camel.support.RoutePolicySupportApache Camel