@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 |
|---|---|
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 |
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.
|
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, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, 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, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.IsSingletonApache Camel