Uses of Interface
org.apache.camel.Endpoint
-
Packages that use Endpoint Package Description org.apache.camel The core Camel API.org.apache.camel.spi Service Provider Interfaces used by the Camel runtime which are plugin strategies. -
-
Uses of Endpoint in org.apache.camel
Subinterfaces of Endpoint in org.apache.camel Modifier and Type Interface Description interfaceApiEndpointMarks theEndpointas an endpoint from an API based component.interfaceAsyncEndpointMarks theEndpointas support asynchronous non-blocking routing in its consumer and producer.interfaceDelegateEndpointAn interface to represent anEndpointwhich are delegated.Methods in org.apache.camel with type parameters of type Endpoint Modifier and Type Method Description <T extends Endpoint>
TCamelContext. getEndpoint(String name, Class<T> endpointType)Resolves the given name to anEndpointof the specified type.<T extends Endpoint>
TEndpointConsumerResolver. resolve(CamelContext context, Class<T> endpointType)Resolves this object as an endpoint.<T extends Endpoint>
TEndpointProducerResolver. resolve(CamelContext context, Class<T> endpointType)Resolves this object as an endpoint.Methods in org.apache.camel that return Endpoint Modifier and Type Method Description EndpointCamelContext. addEndpoint(String uri, Endpoint endpoint)Adds and starts the endpoint to theEndpointRegistryusing the given URI.EndpointComponent. createEndpoint(String uri)Attempt to resolve an endpoint for the given URI if the component is capable of handling the URI.EndpointComponent. createEndpoint(String uri, Map<String,Object> parameters)Attempt to resolve an endpoint for the given URI if the component is capable of handling the URI.EndpointFluentProducerTemplate. getDefaultEndpoint()Get the default endpoint to use if none is specifiedEndpointProducerTemplate. getDefaultEndpoint()Get the default endpoint to use if none is specifiedEndpointCamelContext. getEndpoint(String uri)Resolves the given name to anEndpointof the specified type.EndpointCamelContext. getEndpoint(String uri, Map<String,Object> parameters)Resolves the given name to anEndpointof the specified type.EndpointDelegateEndpoint. getEndpoint()Gets the delegatedEndpoint.EndpointEndpointAware. getEndpoint()Gets the endpoint associated with an object.EndpointExtendedCamelContext. getEndpoint(NormalizedEndpointUri uri)Resolves the given name to anEndpointof the specified type.EndpointExtendedCamelContext. getEndpoint(NormalizedEndpointUri uri, Map<String,Object> parameters)Resolves the given name to anEndpointof the specified type.EndpointProxyInstantiationException. getEndpoint()EndpointRoute. getEndpoint()Gets the input endpoint for this route.EndpointExchange. getFromEndpoint()Returns the endpoint which originated this message exchange if a consumer on an endpoint created the message exchange, otherwise his property will be null.EndpointExtendedCamelContext. getPrototypeEndpoint(String uri)Resolves the given name to anEndpointof the specified type (scope is prototype).EndpointExtendedCamelContext. getPrototypeEndpoint(NormalizedEndpointUri uri)Resolves the given name to anEndpointof the specified type (scope is prototype).EndpointCamelContext. hasEndpoint(String uri)Is the given endpoint already registered in theEndpointRegistryEndpointExtendedCamelContext. hasEndpoint(NormalizedEndpointUri uri)Is the given endpoint already registered in theEndpointRegistryEndpointEndpointConsumerResolver. resolve(CamelContext context)Resolves this object as an endpoint.EndpointEndpointProducerResolver. resolve(CamelContext context)Resolves this object as an endpoint.Methods in org.apache.camel that return types with arguments of type Endpoint Modifier and Type Method Description Map<String,Endpoint>CamelContext. getEndpointMap()Deprecated.Collection<Endpoint>CamelContext. getEndpoints()Returns a read-onlyCollectionof all of the endpoints from theEndpointRegistryCollection<Endpoint>CamelContext. removeEndpoints(String pattern)Removes all endpoints with the given URI from theEndpointRegistry.Methods in org.apache.camel with parameters of type Endpoint Modifier and Type Method Description EndpointCamelContext. addEndpoint(String uri, Endpoint endpoint)Adds and starts the endpoint to theEndpointRegistryusing the given URI.CompletableFuture<Exchange>ProducerTemplate. asyncCallback(Endpoint endpoint, Exchange exchange, Synchronization onCompletion)Deprecated.CompletableFuture<Exchange>ProducerTemplate. asyncCallback(Endpoint endpoint, Processor processor, Synchronization onCompletion)Deprecated.CompletableFuture<Object>ProducerTemplate. asyncCallbackRequestBody(Endpoint endpoint, Object body, Synchronization onCompletion)Deprecated.CompletableFuture<Object>ProducerTemplate. asyncCallbackSendBody(Endpoint endpoint, Object body, Synchronization onCompletion)Deprecated.CompletableFuture<Object>ProducerTemplate. asyncRequestBody(Endpoint endpoint, Object body)Sends an asynchronous body to the given endpoint.<T> CompletableFuture<T>ProducerTemplate. asyncRequestBody(Endpoint endpoint, Object body, Class<T> type)Sends an asynchronous body to the given endpoint.CompletableFuture<Object>ProducerTemplate. asyncRequestBodyAndHeader(Endpoint endpoint, Object body, String header, Object headerValue)Sends an asynchronous body to the given endpoint.<T> CompletableFuture<T>ProducerTemplate. asyncRequestBodyAndHeader(Endpoint endpoint, Object body, String header, Object headerValue, Class<T> type)Sends an asynchronous body to the given endpoint.CompletableFuture<Object>ProducerTemplate. asyncRequestBodyAndHeaders(Endpoint endpoint, Object body, Map<String,Object> headers)Sends an asynchronous body to the given endpoint.<T> CompletableFuture<T>ProducerTemplate. asyncRequestBodyAndHeaders(Endpoint endpoint, Object body, Map<String,Object> headers, Class<T> type)Sends an asynchronous body to the given endpoint.CompletableFuture<Exchange>ProducerTemplate. asyncSend(Endpoint endpoint, Exchange exchange)Sends an asynchronous exchange to the given endpoint.CompletableFuture<Exchange>ProducerTemplate. asyncSend(Endpoint endpoint, Processor processor)Sends an asynchronous exchange to the given endpoint.CompletableFuture<Object>ProducerTemplate. asyncSendBody(Endpoint endpoint, Object body)Sends an asynchronous body to the given endpoint.ExchangeConsumerTemplate. receive(Endpoint endpoint)Receives from the endpoint, waiting until there is a response.ExchangeConsumerTemplate. receive(Endpoint endpoint, long timeout)Receives from the endpoint, waiting until there is a response or the timeout occursObjectConsumerTemplate. receiveBody(Endpoint endpoint)Receives from the endpoint, waiting until there is a responseObjectConsumerTemplate. receiveBody(Endpoint endpoint, long timeout)Receives from the endpoint, waiting until there is a response or the timeout occurs<T> TConsumerTemplate. receiveBody(Endpoint endpoint, long timeout, Class<T> type)Receives from the endpoint, waiting until there is a response or the timeout occurs<T> TConsumerTemplate. receiveBody(Endpoint endpoint, Class<T> type)Receives from the endpoint, waiting until there is a responseObjectConsumerTemplate. receiveBodyNoWait(Endpoint endpoint)Receives from the endpoint, not waiting for a response if non exists.<T> TConsumerTemplate. receiveBodyNoWait(Endpoint endpoint, Class<T> type)Receives from the endpoint, not waiting for a response if non exists.ExchangeConsumerTemplate. receiveNoWait(Endpoint endpoint)Receives from the endpoint, not waiting for a response if non exists.voidCamelContext. removeEndpoint(Endpoint endpoint)Removes the endpoint from theEndpointRegistry.ExchangeProducerTemplate. request(Endpoint endpoint, Processor processor)Sends an exchange to an endpoint using a supplied processor Uses anExchangePattern.InOutmessage exchange pattern.ObjectProducerTemplate. requestBody(Endpoint endpoint, Object body)Send the body to an endpoint returning any result output body.<T> TProducerTemplate. requestBody(Endpoint endpoint, Object body, Class<T> type)Send the body to an endpoint returning any result output body.ObjectProducerTemplate. requestBodyAndHeader(Endpoint endpoint, Object body, String header, Object headerValue)Send the body to an endpoint returning any result output body.<T> TProducerTemplate. requestBodyAndHeader(Endpoint endpoint, Object body, String header, Object headerValue, Class<T> type)Send the body to an endpoint returning any result output body.ObjectProducerTemplate. requestBodyAndHeaders(Endpoint endpoint, Object body, Map<String,Object> headers)Sends the body to an endpoint with the specified headers and header values.<T> TProducerTemplate. requestBodyAndHeaders(Endpoint endpoint, Object body, Map<String,Object> headers, Class<T> type)Sends the body to an endpoint with the specified headers and header values.ExchangeProducerTemplate. send(Endpoint endpoint, Exchange exchange)Sends the exchange to the given endpoint
ExchangeProducerTemplate. send(Endpoint endpoint, ExchangePattern pattern, Processor processor)Sends an exchange to an endpoint using a supplied processor
ExchangeProducerTemplate. send(Endpoint endpoint, ExchangePattern pattern, Processor processor, Processor resultProcessor)Sends an exchange to an endpoint using a supplied processor
ExchangeProducerTemplate. send(Endpoint endpoint, Processor processor)Sends an exchange to an endpoint using a supplied processor
voidProducerTemplate. sendBody(Endpoint endpoint, Object body)Send the body to an endpoint
ObjectProducerTemplate. sendBody(Endpoint endpoint, ExchangePattern pattern, Object body)voidProducerTemplate. sendBodyAndHeader(Endpoint endpoint, Object body, String header, Object headerValue)Sends the body to an endpoint with a specified header and header value
ObjectProducerTemplate. sendBodyAndHeader(Endpoint endpoint, ExchangePattern pattern, Object body, String header, Object headerValue)Sends the body to an endpoint with a specified header and header value
voidProducerTemplate. sendBodyAndHeaders(Endpoint endpoint, Object body, Map<String,Object> headers)Sends the body to an endpoint with the specified headers and header values
ObjectProducerTemplate. sendBodyAndHeaders(Endpoint endpoint, ExchangePattern pattern, Object body, Map<String,Object> headers)Sends the body to an endpoint with the specified headers and header values
voidProducerTemplate. sendBodyAndProperty(Endpoint endpoint, Object body, String property, Object propertyValue)Sends the body to an endpoint with a specified property and property value
ObjectProducerTemplate. sendBodyAndProperty(Endpoint endpoint, ExchangePattern pattern, Object body, String property, Object propertyValue)Sends the body to an endpoint with a specified property and property value
voidFluentProducerTemplate. setDefaultEndpoint(Endpoint defaultEndpoint)Sets the default endpoint to use if none is specifiedvoidProducerTemplate. setDefaultEndpoint(Endpoint defaultEndpoint)Sets the default endpoint to use if none is specifiedvoidExtendedExchange. setFromEndpoint(Endpoint fromEndpoint)Sets the endpoint which originated this message exchange.FluentProducerTemplateFluentProducerTemplate. to(Endpoint endpoint)Endpoint to send toFluentProducerTemplateFluentProducerTemplate. withDefaultEndpoint(Endpoint endpoint)Sets the default endpointConstructors in org.apache.camel with parameters of type Endpoint Constructor Description FailedToCreateConsumerException(Endpoint endpoint, String message)FailedToCreateConsumerException(Endpoint endpoint, String message, Throwable cause)FailedToCreateConsumerException(Endpoint endpoint, Throwable cause)FailedToCreateProducerException(Endpoint endpoint, Throwable cause)ProxyInstantiationException(Class<?> type, Endpoint endpoint, Throwable cause) -
Uses of Endpoint in org.apache.camel.spi
Subinterfaces of Endpoint in org.apache.camel.spi Modifier and Type Interface Description interfaceBrowsableEndpointAn optional interface anEndpointmay choose to implement which allows it to expose a way of browsing the exchanges available.interfaceInterceptSendToEndpointThis is an endpoint when sending to it, is intercepted and is routed in a detour, with the following flow: before, send to original endpoint (can be skipped), after (optional).Methods in org.apache.camel.spi that return Endpoint Modifier and Type Method Description EndpointInterceptEndpointFactory. createInterceptSendToEndpoint(CamelContext camelContext, Endpoint endpoint, boolean skip, Processor before, Processor after)Creates an endpoint when intercepting sending to an endpoint (detour).EndpointCamelEvent.ExchangeSendingEvent. getEndpoint()EndpointCamelEvent.ExchangeSentEvent. getEndpoint()EndpointInterceptSendToEndpoint. getOriginalEndpoint()The original endpoint which was intercepted.EndpointEndpointStrategy. registerEndpoint(String uri, Endpoint endpoint)Register the endpoint.Methods in org.apache.camel.spi that return types with arguments of type Endpoint Modifier and Type Method Description Collection<Endpoint>EndpointRegistry. getReadOnlyValues()Gets a read-only collection of the endpoints currently in the registry.Methods in org.apache.camel.spi with parameters of type Endpoint Modifier and Type Method Description PollingConsumerConsumerCache. acquirePollingConsumer(Endpoint endpoint)Acquires a pooled polling consumer which you must release back again after usage using theConsumerCache.releasePollingConsumer(Endpoint, PollingConsumer)method.AsyncProducerProducerCache. acquireProducer(Endpoint endpoint)Acquires a pooled producer which you must release back again after usage using theProducerCache.releaseProducer(org.apache.camel.Endpoint, org.apache.camel.AsyncProducer)method.CompletableFuture<Exchange>ProducerCache. asyncSendExchange(Endpoint endpoint, ExchangePattern pattern, Processor processor, Processor resultProcessor, Exchange exchange, CompletableFuture<Exchange> future)Asynchronously sends an exchange to an endpoint using a suppliedProcessorto populate the exchangebooleanPollingConsumerPollStrategy. begin(Consumer consumer, Endpoint endpoint)Called when poll is about to beginvoidPollingConsumerPollStrategy. commit(Consumer consumer, Endpoint endpoint, int polledMessages)Called when poll is completed successfullyExchangeExchangeFactory. create(Endpoint fromEndpoint, boolean autoRelease)Gets a newExchangeExchangeProcessorExchangeFactory. create(Endpoint fromEndpoint, ExchangePattern exchangePattern)Gets a newExchangeCamelEventEventFactory. createExchangeSendingEvent(Exchange exchange, Endpoint endpoint)Creates anCamelEventwhen anExchangeis about to be sent to the endpoint (eg before).CamelEventEventFactory. createExchangeSentEvent(Exchange exchange, Endpoint endpoint, long timeTaken)Creates anCamelEventwhen anExchangehas completely been sent to the endpoint (eg after).EndpointInterceptEndpointFactory. createInterceptSendToEndpoint(CamelContext camelContext, Endpoint endpoint, boolean skip, Processor before, Processor after)Creates an endpoint when intercepting sending to an endpoint (detour).AsyncProducerInternalProcessorFactory. createInterceptSendToEndpointProcessor(InterceptSendToEndpoint endpoint, Endpoint delegate, AsyncProducer producer, boolean skip)ProducerDeferServiceFactory. createProducer(Endpoint endpoint)Creates theProducerwhich is deferred started untilCamelContextis being started.<T> TBeanProxyFactory. createProxy(Endpoint endpoint, boolean binding, Class<T>... interfaceClasses)Creates a proxy bean facaded with the interfaces that when invoked will send the data as a message to a Camel endpoint.RouteRouteFactory. createRoute(CamelContext camelContext, NamedNode routeDefinition, String routeId, String routeDescription, Endpoint endpoint, Resource resource)Creates the route which should be configured afterwards with more configurations.booleanProducerCache. doInAsyncProducer(Endpoint endpoint, Exchange exchange, AsyncCallback callback, ProducerCache.AsyncProducerCallback producerCallback)Sends an exchange to an endpoint using a supplied callback supporting the asynchronous routing engine.ObjectManagementObjectStrategy. getManagedObjectForEndpoint(CamelContext context, Endpoint endpoint)ObjectNameManagementObjectNameStrategy. getObjectNameForEndpoint(Endpoint endpoint)voidLifecycleStrategy. onEndpointAdd(Endpoint endpoint)Notification on adding anEndpoint.voidLifecycleStrategy. onEndpointRemove(Endpoint endpoint)Notification on removing anEndpoint.ExchangeConsumerCache. receive(Endpoint endpoint)Waits until a message is available and then returns it.ExchangeConsumerCache. receive(Endpoint endpoint, long timeout)Attempts to receive a message exchange, waiting up to the given timeout to expire if a message is not yet available.ExchangeConsumerCache. receiveNoWait(Endpoint endpoint)Attempts to receive a message exchange immediately without waiting and returning null if a message exchange is not available yet.EndpointEndpointStrategy. registerEndpoint(String uri, Endpoint endpoint)Register the endpoint.voidConsumerCache. releasePollingConsumer(Endpoint endpoint, PollingConsumer pollingConsumer)Releases an acquired polling consumer back after usage.voidProducerCache. releaseProducer(Endpoint endpoint, AsyncProducer producer)Releases an acquired producer back after usage.booleanPollingConsumerPollStrategy. rollback(Consumer consumer, Endpoint endpoint, int retryCounter, Exception cause)Called when poll failedExchangeProducerCache. send(Endpoint endpoint, Exchange exchange, Processor resultProcessor)Sends the exchange to the given endpoint.
-