@UriEndpoint(scheme="context",
title="Camel Context",
syntax="context:contextId:localEndpointUrl",
label="endpoint")
public class ContextEndpoint
extends org.apache.camel.impl.DefaultEndpoint
implements org.apache.camel.DelegateEndpoint
| Constructor and Description |
|---|
ContextEndpoint(String endpointUri,
org.apache.camel.Component component,
org.apache.camel.Endpoint delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureProperties(Map<String,Object> options) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getContextId() |
org.apache.camel.Endpoint |
getEndpoint() |
String |
getLocalEndpointUrl() |
boolean |
isSingleton() |
void |
setCamelContext(org.apache.camel.CamelContext context) |
void |
setContextId(String contextId)
Is the ID you used to register the CamelContext into the Registry.
|
void |
setLocalEndpointUrl(String localEndpointUrl)
Can be a valid Camel URI evaluated within the black box CamelContext.
|
void |
start() |
void |
stop() |
configureConsumer, configurePollingConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, suspendpublic ContextEndpoint(String endpointUri, org.apache.camel.Component component, org.apache.camel.Endpoint delegate)
public org.apache.camel.Endpoint getEndpoint()
getEndpoint in interface org.apache.camel.DelegateEndpointpublic String getContextId()
public void setContextId(String contextId)
public String getLocalEndpointUrl()
public void setLocalEndpointUrl(String localEndpointUrl)
public org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonpublic void start()
throws Exception
start in interface org.apache.camel.Servicestart in class org.apache.camel.support.ServiceSupportExceptionpublic void stop()
throws Exception
stop in interface org.apache.camel.Servicestop in class org.apache.camel.support.ServiceSupportExceptionpublic void configureProperties(Map<String,Object> options)
configureProperties in interface org.apache.camel.EndpointconfigureProperties in class org.apache.camel.impl.DefaultEndpointpublic void setCamelContext(org.apache.camel.CamelContext context)
setCamelContext in interface org.apache.camel.CamelContextAwaresetCamelContext in interface org.apache.camel.EndpointsetCamelContext in class org.apache.camel.impl.DefaultEndpointApache Camel