@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, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, suspend
public 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.DelegateEndpoint
public 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.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 void start() throws Exception
start
in interface org.apache.camel.Service
start
in class org.apache.camel.support.ServiceSupport
Exception
public void stop() throws Exception
stop
in interface org.apache.camel.Service
stop
in class org.apache.camel.support.ServiceSupport
Exception
public void configureProperties(Map<String,Object> options)
configureProperties
in interface org.apache.camel.Endpoint
configureProperties
in class org.apache.camel.impl.DefaultEndpoint
public void setCamelContext(org.apache.camel.CamelContext context)
setCamelContext
in interface org.apache.camel.CamelContextAware
setCamelContext
in interface org.apache.camel.Endpoint
setCamelContext
in class org.apache.camel.impl.DefaultEndpoint
Apache Camel