@ManagedResource(description="Managed Service Endpoint") @UriEndpoint(firstVersion="2.22.0", scheme="service", syntax="service:delegateUri", consumerClass=ServiceConsumer.class, consumerOnly=true, title="Service", lenientProperties=true, label="cloud") public class ServiceEndpoint extends org.apache.camel.impl.DefaultEndpoint implements org.apache.camel.DelegateEndpoint
Constructor and Description |
---|
ServiceEndpoint(String uri,
ServiceComponent component,
org.apache.camel.cloud.ServiceRegistry serviceRegistry,
Map<String,String> serviceParameters,
String delegateUri) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getDelegateEndpointUri() |
org.apache.camel.Endpoint |
getEndpoint() |
org.apache.camel.cloud.ServiceDefinition |
getServiceDefinition() |
boolean |
isLenientProperties() |
boolean |
isSingleton() |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public org.apache.camel.Endpoint getEndpoint()
getEndpoint
in interface org.apache.camel.DelegateEndpoint
@ManagedAttribute(description="The consumer endpoint to expose as a service", mask=true) public String getDelegateEndpointUri()
public org.apache.camel.cloud.ServiceDefinition getServiceDefinition()
public org.apache.camel.Producer createProducer() throws Exception
createProducer
in interface org.apache.camel.Endpoint
Exception
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
createConsumer
in interface org.apache.camel.Endpoint
Exception
public boolean isSingleton()
isSingleton
in interface org.apache.camel.IsSingleton
public boolean isLenientProperties()
isLenientProperties
in interface org.apache.camel.Endpoint
isLenientProperties
in class org.apache.camel.impl.DefaultEndpoint
Apache Camel