public class CamelSpringCloudServiceRegistry
extends org.apache.camel.impl.cloud.AbstractServiceRegistry
Constructor and Description |
---|
CamelSpringCloudServiceRegistry(Collection<org.springframework.core.convert.ConversionService> conversionServices,
org.springframework.cloud.client.serviceregistry.ServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
deregister(org.apache.camel.cloud.ServiceDefinition definition) |
protected void |
doStart() |
protected void |
doStop() |
org.springframework.cloud.client.serviceregistry.ServiceRegistry |
getNativeServiceRegistry() |
<R extends org.springframework.cloud.client.serviceregistry.Registration,T extends org.springframework.cloud.client.serviceregistry.ServiceRegistry<R>> |
getNativeServiceRegistry(Class<T> type) |
void |
register(org.apache.camel.cloud.ServiceDefinition definition) |
getAttributes, getCamelContext, getId, getOrder, setAttribute, setAttributes, setCamelContext, setId, setOrder
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public CamelSpringCloudServiceRegistry(Collection<org.springframework.core.convert.ConversionService> conversionServices, org.springframework.cloud.client.serviceregistry.ServiceRegistry serviceRegistry)
public void register(org.apache.camel.cloud.ServiceDefinition definition)
public void deregister(org.apache.camel.cloud.ServiceDefinition definition)
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.ServiceSupport
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.ServiceSupport
Exception
public org.springframework.cloud.client.serviceregistry.ServiceRegistry getNativeServiceRegistry()
public <R extends org.springframework.cloud.client.serviceregistry.Registration,T extends org.springframework.cloud.client.serviceregistry.ServiceRegistry<R>> T getNativeServiceRegistry(Class<T> type)
Apache Camel