Uses of Interface
org.apache.camel.Endpoint
Packages that use Endpoint
-
Uses of Endpoint in org.apache.camel
Subinterfaces of Endpoint in org.apache.camelModifier and TypeInterfaceDescriptioninterfaceMarker interface indicating that anEndpointbelongs to an API-based component, where the endpoint URI encodes an API name and method name rather than a plain scheme and path.interfaceMarker interface indicating that theEndpoint's consumer and producer support asynchronous, non-blocking routing.interfaceMethods in org.apache.camel with type parameters of type EndpointModifier and TypeMethodDescription<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 EndpointModifier and TypeMethodDescription@Nullable EndpointCamelContext.addEndpoint(String uri, Endpoint endpoint) Adds and starts the endpoint to theEndpointRegistryusing the given URI.@Nullable EndpointComponent.createEndpoint(String uri) Attempt to resolve an endpoint for the given URI if the component is capable of handling the URI.@Nullable 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.@Nullable EndpointFluentProducerTemplate.getDefaultEndpoint()Get the default endpoint to use if none is specified@Nullable EndpointProducerTemplate.getDefaultEndpoint()Get the default endpoint to use if none is specifiedCamelContext.getEndpoint(String uri) Resolves the given name to anEndpointof the specified type.CamelContext.getEndpoint(String uri, Map<String, Object> parameters) Resolves the given name to anEndpointof the specified type.DelegateEndpoint.getEndpoint()Gets the delegatedEndpoint.EndpointAware.getEndpoint()Gets the endpoint associated with an object.ExtendedCamelContext.getEndpoint(NormalizedEndpointUri uri) Resolves the given name to anEndpointof the specified type.ExtendedCamelContext.getEndpoint(NormalizedEndpointUri uri, Map<String, Object> parameters) Resolves the given name to anEndpointof the specified type.ProxyInstantiationException.getEndpoint()Route.getEndpoint()Gets the input endpoint for this route.@Nullable EndpointExchange.getFromEndpoint()Returns the endpoint which originated this message exchange if a consumer on an endpoint created the message exchange, otherwise this property will be null.@Nullable EndpointExchangeExtension.getFromEndpoint()Returns the endpoint which originated this message exchange.ExtendedCamelContext.getPrototypeEndpoint(String uri) Resolves the given name to anEndpointof the specified type (scope is prototype).ExtendedCamelContext.getPrototypeEndpoint(NormalizedEndpointUri uri) Resolves the given name to anEndpointof the specified type (scope is prototype).@Nullable EndpointCamelContext.hasEndpoint(String uri) Is the given endpoint already registered in theEndpointRegistry@Nullable EndpointExtendedCamelContext.hasEndpoint(NormalizedEndpointUri uri) Is the given endpoint already registered in theEndpointRegistryEndpointConsumerResolver.resolve(CamelContext context) Resolves this object as an endpoint.EndpointProducerResolver.resolve(CamelContext context) Resolves this object as an endpoint.Methods in org.apache.camel that return types with arguments of type EndpointModifier and TypeMethodDescriptionCamelContext.getEndpoints()Returns a read-onlyCollectionof all of the endpoints from theEndpointRegistryCamelContext.removeEndpoints(String pattern) Removes all endpoints with the given URI from theEndpointRegistry.Methods in org.apache.camel with parameters of type EndpointModifier and TypeMethodDescription@Nullable EndpointCamelContext.addEndpoint(String uri, Endpoint endpoint) Adds and starts the endpoint to theEndpointRegistryusing the given URI.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.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.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.Sends an asynchronous exchange to the given endpoint.Sends an asynchronous exchange to the given endpoint.ProducerTemplate.asyncSendBody(Endpoint endpoint, Object body) Sends an asynchronous body to the given endpoint.Receives from the endpoint, waiting until there is a response.@Nullable ExchangeReceives from the endpoint, waiting until there is a response or the timeout occurs@Nullable ObjectConsumerTemplate.receiveBody(Endpoint endpoint) Receives from the endpoint, waiting until there is a response@Nullable ObjectConsumerTemplate.receiveBody(Endpoint endpoint, long timeout) Receives from the endpoint, waiting until there is a response or the timeout occurs<T> @Nullable TConsumerTemplate.receiveBody(Endpoint endpoint, long timeout, Class<T> type) Receives from the endpoint, waiting until there is a response or the timeout occurs<T> @Nullable TConsumerTemplate.receiveBody(Endpoint endpoint, Class<T> type) Receives from the endpoint, waiting until there is a response@Nullable ObjectConsumerTemplate.receiveBodyNoWait(Endpoint endpoint) Receives from the endpoint, not waiting for a response if none exists.<T> @Nullable TConsumerTemplate.receiveBodyNoWait(Endpoint endpoint, Class<T> type) Receives from the endpoint, not waiting for a response if none exists.@Nullable ExchangeConsumerTemplate.receiveNoWait(Endpoint endpoint) Receives from the endpoint, not waiting for a response if none exists.voidCamelContext.removeEndpoint(Endpoint endpoint) Removes the endpoint from theEndpointRegistry.Sends an exchange to an endpoint using a supplied processor Uses anExchangePattern.InOutmessage exchange pattern.@Nullable ObjectProducerTemplate.requestBody(Endpoint endpoint, Object body) Send the body to an endpoint returning any result output body.<T> @Nullable TProducerTemplate.requestBody(Endpoint endpoint, Object body, Class<T> type) Send the body to an endpoint returning any result output body.@Nullable ObjectProducerTemplate.requestBodyAndHeader(Endpoint endpoint, Object body, String header, Object headerValue) Send the body to an endpoint returning any result output body.<T> @Nullable TProducerTemplate.requestBodyAndHeader(Endpoint endpoint, Object body, String header, Object headerValue, Class<T> type) Send the body to an endpoint returning any result output body.@Nullable ObjectSends the body to an endpoint with the specified headers and header values.<T> @Nullable 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.Sends the exchange to the given endpoint
ProducerTemplate.send(Endpoint endpoint, ExchangePattern pattern, Processor processor) Sends an exchange to an endpoint using a supplied processor
ProducerTemplate.send(Endpoint endpoint, ExchangePattern pattern, Processor processor, Processor resultProcessor) Sends an exchange to an endpoint using a supplied processor
Sends an exchange to an endpoint using a supplied processor
voidSend the body to an endpoint
@Nullable 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
@Nullable 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
voidSends the body to an endpoint with the specified headers and header values
@Nullable 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
@Nullable 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 specifiedvoidExchangeExtension.setFromEndpoint(Endpoint fromEndpoint) Sets the endpoint which originated this message exchange.Endpoint to send toFluentProducerTemplate.withDefaultEndpoint(Endpoint endpoint) Sets the default endpointConstructors in org.apache.camel with parameters of type EndpointModifierConstructorDescriptionFailedToCreateConsumerException(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.spiModifier and TypeInterfaceDescriptioninterfaceAn optional interface anEndpointmay choose to implement which allows it to expose a way of browsing the exchanges available.interfaceAnEndpointwrapper that, when sent to, detours the exchange: before, send to the original endpoint (which can be skipped), then after (optional).Subinterfaces with type arguments of type Endpoint in org.apache.camel.spiModifier and TypeInterfaceDescriptioninterfaceRegistry to cache endpoints in memory.Methods in org.apache.camel.spi that return EndpointModifier and TypeMethodDescriptionCamelEvent.ExchangeSendingEvent.getEndpoint()Returns the destination endpoint.CamelEvent.ExchangeSentEvent.getEndpoint()Returns the destination endpoint.InterceptSendToEndpoint.getOriginalEndpoint()The original endpoint which was intercepted.EndpointStrategy.registerEndpoint(String uri, Endpoint endpoint) Register the endpoint.Methods in org.apache.camel.spi that return types with arguments of type EndpointModifier and TypeMethodDescriptionEndpointRegistry.getReadOnlyMap()Gets a read-only map of the endpoints currently in the registry.EndpointRegistry.getReadOnlyValues()Gets a read-only collection of the endpoints currently in the registry.Methods in org.apache.camel.spi with parameters of type EndpointModifier and TypeMethodDescriptionConsumerCache.acquirePollingConsumer(Endpoint endpoint) Acquires a pooled polling consumer which you must release back again after usage using theConsumerCache.releasePollingConsumer(Endpoint, PollingConsumer)method.ProducerCache.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.ProducerCache.asyncSendExchange(Endpoint endpoint, ExchangePattern pattern, Processor processor, @Nullable Processor resultProcessor, @Nullable Exchange exchange, @Nullable CompletableFuture<Exchange> future) Asynchronously sends an exchange to an endpoint using a suppliedProcessorto populate the exchangebooleanCalled when poll is about to beginvoidCalled when poll is completed successfullyGets a newExchangeProcessorExchangeFactory.create(Endpoint fromEndpoint, ExchangePattern exchangePattern) Gets a newExchangeInternalProcessorFactory.createAsyncProducer(Endpoint endpoint) EventFactory.createExchangeSendingEvent(Exchange exchange, Endpoint endpoint) Creates anCamelEventwhen anExchangeis about to be sent to the endpoint (eg before).EventFactory.createExchangeSentEvent(Exchange exchange, Endpoint endpoint, long timeTaken) Creates anCamelEventwhen anExchangehas completely been sent to the endpoint (eg after).InterceptEndpointFactory.createInterceptSendToEndpoint(CamelContext camelContext, Endpoint endpoint, boolean skip, @Nullable Predicate onWhen, @Nullable Processor before, @Nullable Processor after) Creates an endpoint when intercepting sending to an endpoint (detour).InternalProcessorFactory.createInterceptSendToEndpointProcessor(InterceptSendToEndpoint endpoint, Endpoint delegate, AsyncProducer producer, boolean skip, @Nullable Predicate onWhen) DeferServiceFactory.createProducer(Endpoint endpoint) Creates theProducerwhich is deferred started untilCamelContextis being started.InternalProcessorFactory.createProducer(Endpoint endpoint) <T> TBeanProxyFactory.createProxy(Endpoint endpoint, boolean binding, Class<T>... interfaceClasses) Creates a proxy bean facade with the interfaces that when invoked will send the data as a message to a Camel endpoint.RouteFactory.createRoute(CamelContext camelContext, NamedNode routeDefinition, String routeId, @Nullable String routeDescription, @Nullable String routeNote, Endpoint endpoint, @Nullable 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.ManagementObjectStrategy.getManagedObjectForEndpoint(CamelContext context, Endpoint endpoint) ManagementObjectNameStrategy.getObjectNameForEndpoint(Endpoint endpoint) voidLifecycleStrategy.onEndpointAdd(Endpoint endpoint) Notification on adding anEndpoint.voidLifecycleStrategy.onEndpointRemove(Endpoint endpoint) Notification on removing anEndpoint.@Nullable ExchangeWaits until a message is available and then returns it.@Nullable ExchangeAttempts to receive a message exchange, waiting up to the given timeout to expire if a message is not yet available.@Nullable ExchangeConsumerCache.receiveNoWait(Endpoint endpoint) Attempts to receive a message exchange immediately without waiting and returning null if a message exchange is not available yet.EndpointStrategy.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 failedSends the exchange to the given endpoint.voidTracer.traceSentNode(NamedNode node, Exchange exchange, Endpoint endpoint, long elapsed) Trace when an Exchange was sent to a given endpoint