@UriEndpoint(firstVersion="3.5.0",
scheme="azure-eventhubs",
title="Azure Event Hubs",
syntax="azure-eventhubs:namespace/eventHubName",
category={CLOUD,MESSAGING})
public class EventHubsEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Constructor and Description |
|---|
EventHubsEndpoint(String uri,
org.apache.camel.Component component,
EventHubsConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Exchange |
createAzureEventHubExchange(com.azure.messaging.eventhubs.models.ErrorContext errorContext) |
org.apache.camel.Exchange |
createAzureEventHubExchange(com.azure.messaging.eventhubs.models.EventContext eventContext) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
EventHubsConfiguration |
getConfiguration()
The component configurations
|
void |
setConfiguration(EventHubsConfiguration configuration) |
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic EventHubsEndpoint(String uri, org.apache.camel.Component component, EventHubsConfiguration configuration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic EventHubsConfiguration getConfiguration()
public void setConfiguration(EventHubsConfiguration configuration)
public org.apache.camel.Exchange createAzureEventHubExchange(com.azure.messaging.eventhubs.models.EventContext eventContext)
public org.apache.camel.Exchange createAzureEventHubExchange(com.azure.messaging.eventhubs.models.ErrorContext errorContext)
Apache Camel