@Metadata(label="verifiers",
enums="parameters,connectivity")
public class UndertowComponent
extends org.apache.camel.impl.DefaultComponent
implements org.apache.camel.spi.RestConsumerFactory, org.apache.camel.spi.RestApiConsumerFactory, org.apache.camel.spi.RestProducerFactory, org.apache.camel.VerifiableComponent, org.apache.camel.SSLContextParametersAware
UndertowEndpoint
.Constructor and Description |
---|
UndertowComponent() |
UndertowComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createApiConsumer(org.apache.camel.CamelContext camelContext,
org.apache.camel.Processor processor,
String contextPath,
org.apache.camel.spi.RestConfiguration configuration,
Map<String,Object> parameters) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.CamelContext camelContext,
org.apache.camel.Processor processor,
String verb,
String basePath,
String uriTemplate,
String consumes,
String produces,
org.apache.camel.spi.RestConfiguration configuration,
Map<String,Object> parameters) |
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected UndertowEndpoint |
createEndpointInstance(URI endpointUri,
UndertowComponent component) |
org.apache.camel.Producer |
createProducer(org.apache.camel.CamelContext camelContext,
String host,
String verb,
String basePath,
String uriTemplate,
String queryParameters,
String consumes,
String produces,
org.apache.camel.spi.RestConfiguration configuration,
Map<String,Object> parameters) |
protected UndertowHost |
createUndertowHost(UndertowHostKey key) |
protected void |
doStart() |
protected String |
getComponentName() |
Set<HttpHandlerRegistrationInfo> |
getHandlers() |
UndertowHostOptions |
getHostOptions() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
UndertowHttpBinding |
getUndertowHttpBinding() |
org.apache.camel.ComponentVerifier |
getVerifier() |
boolean |
isUseGlobalSslContextParameters() |
io.undertow.server.HttpHandler |
registerEndpoint(HttpHandlerRegistrationInfo registrationInfo,
SSLContext sslContext,
io.undertow.server.HttpHandler handler) |
void |
setHostOptions(UndertowHostOptions hostOptions)
To configure common options, such as thread pools
|
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters
|
void |
setUndertowHttpBinding(UndertowHttpBinding undertowHttpBinding)
To use a custom HttpBinding to control the mapping between Camel message and HttpClient.
|
void |
setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
void |
unregisterEndpoint(HttpHandlerRegistrationInfo registrationInfo,
SSLContext sslContext) |
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public UndertowComponent()
public UndertowComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
protected UndertowEndpoint createEndpointInstance(URI endpointUri, UndertowComponent component) throws URISyntaxException
URISyntaxException
public org.apache.camel.Consumer createConsumer(org.apache.camel.CamelContext camelContext, org.apache.camel.Processor processor, String verb, String basePath, String uriTemplate, String consumes, String produces, org.apache.camel.spi.RestConfiguration configuration, Map<String,Object> parameters) throws Exception
createConsumer
in interface org.apache.camel.spi.RestConsumerFactory
Exception
public org.apache.camel.Consumer createApiConsumer(org.apache.camel.CamelContext camelContext, org.apache.camel.Processor processor, String contextPath, org.apache.camel.spi.RestConfiguration configuration, Map<String,Object> parameters) throws Exception
createApiConsumer
in interface org.apache.camel.spi.RestApiConsumerFactory
Exception
public org.apache.camel.Producer createProducer(org.apache.camel.CamelContext camelContext, String host, String verb, String basePath, String uriTemplate, String queryParameters, String consumes, String produces, org.apache.camel.spi.RestConfiguration configuration, Map<String,Object> parameters) throws Exception
createProducer
in interface org.apache.camel.spi.RestProducerFactory
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultComponent
Exception
public io.undertow.server.HttpHandler registerEndpoint(HttpHandlerRegistrationInfo registrationInfo, SSLContext sslContext, io.undertow.server.HttpHandler handler)
public void unregisterEndpoint(HttpHandlerRegistrationInfo registrationInfo, SSLContext sslContext)
protected UndertowHost createUndertowHost(UndertowHostKey key)
public UndertowHttpBinding getUndertowHttpBinding()
public void setUndertowHttpBinding(UndertowHttpBinding undertowHttpBinding)
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
public boolean isUseGlobalSslContextParameters()
isUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
public void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
setUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
public UndertowHostOptions getHostOptions()
public void setHostOptions(UndertowHostOptions hostOptions)
public org.apache.camel.ComponentVerifier getVerifier()
getVerifier
in interface org.apache.camel.VerifiableComponent
protected String getComponentName()
public Set<HttpHandlerRegistrationInfo> getHandlers()
Apache Camel