public class UndertowComponent
extends org.apache.camel.impl.UriEndpointComponent
implements org.apache.camel.spi.RestConsumerFactory, org.apache.camel.spi.RestApiConsumerFactory, org.apache.camel.spi.RestProducerFactory
UndertowEndpoint
.Constructor and Description |
---|
UndertowComponent() |
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,
Map<String,Object> parameters) |
protected void |
doStart() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
UndertowHttpBinding |
getUndertowHttpBinding() |
protected io.undertow.Undertow |
rebuildServer(UndertowRegistry registry) |
void |
registerConsumer(UndertowConsumer consumer) |
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 |
startServer(UndertowConsumer consumer) |
void |
unregisterConsumer(UndertowConsumer consumer) |
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
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, 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 void registerConsumer(UndertowConsumer consumer)
public void unregisterConsumer(UndertowConsumer consumer)
public void startServer(UndertowConsumer consumer)
protected io.undertow.Undertow rebuildServer(UndertowRegistry registry)
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)
Apache Camel