Class LumberjackRoutes
- java.lang.Object
-
- org.apache.camel.builder.BuilderSupport
-
- org.apache.camel.builder.RouteBuilder
-
- org.apache.camel.quarkus.component.lumberjack.it.LumberjackRoutes
-
- All Implemented Interfaces:
org.apache.camel.Ordered,org.apache.camel.RoutesBuilder
public class LumberjackRoutes extends org.apache.camel.builder.RouteBuilder
-
-
Field Summary
Fields Modifier and Type Field Description (package private) IntegerglobalSslPortstatic StringMOCK_ENDPOINT_WITH_GLOBAL_SSLstatic StringMOCK_ENDPOINT_WITH_SSLstatic StringMOCK_ENDPOINT_WITHOUT_SSL(package private) IntegernoSslPort(package private) IntegersslPort
-
Constructor Summary
Constructors Constructor Description LumberjackRoutes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure()org.apache.camel.support.jsse.SSLContextParameterscreateServerSSLContextParameters()Creates SSL Context Parameters for the server(package private) org.apache.camel.component.lumberjack.LumberjackComponentlumberjackGlobalSsl()We need to implement some conditional configuration of theLumberjackComponentthus we create it programmatically and publish via CDI.(package private) org.apache.camel.support.jsse.SSLContextParametersssl()-
Methods inherited from class org.apache.camel.builder.RouteBuilder
addLifecycleInterceptor, addRoutes, addRoutesToCamelContext, bindToRegistry, bindToRegistry, checkInitialized, configureRest, configureRests, configureRoute, configureRoutes, configureRouteTemplate, errorHandler, errorHandler, from, from, from, fromF, getOrder, getRestCollection, getRestConfiguration, getRouteCollection, getRouteTemplateCollection, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRests, populateRoutes, populateRouteTemplates, populateTransformers, populateValidators, propertyInject, removeLifecycleInterceptor, rest, rest, restConfiguration, routeTemplate, setErrorHandlerBuilder, setRestCollection, setRouteCollection, setRouteTemplateCollection, toString, transformer, validator
-
Methods inherited from class org.apache.camel.builder.BuilderSupport
body, bodyAs, constant, createErrorHandlerBuilder, csimple, csimple, datasonnet, datasonnet, datasonnet, datasonnet, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, exchangeProperty, getContext, getErrorHandlerBuilder, header, joor, joor, jsonpath, jsonpath, method, method, method, method, noErrorHandler, regexReplaceAll, regexReplaceAll, setContext, simple, simple, simpleF, simpleF, systemProperty, systemProperty, xpath, xpath, xpath, xpath
-
-
-
-
Field Detail
-
MOCK_ENDPOINT_WITHOUT_SSL
public static final String MOCK_ENDPOINT_WITHOUT_SSL
- See Also:
- Constant Field Values
-
MOCK_ENDPOINT_WITH_SSL
public static final String MOCK_ENDPOINT_WITH_SSL
- See Also:
- Constant Field Values
-
MOCK_ENDPOINT_WITH_GLOBAL_SSL
public static final String MOCK_ENDPOINT_WITH_GLOBAL_SSL
- See Also:
- Constant Field Values
-
sslPort
Integer sslPort
-
noSslPort
Integer noSslPort
-
globalSslPort
Integer globalSslPort
-
-
Method Detail
-
lumberjackGlobalSsl
@Produces @ApplicationScoped @Named("lumberjack-global-ssl") org.apache.camel.component.lumberjack.LumberjackComponent lumberjackGlobalSsl() throws IllegalAccessException, NoSuchFieldException, InstantiationExceptionWe need to implement some conditional configuration of theLumberjackComponentthus we create it programmatically and publish via CDI.- Returns:
- a configured
LumberjackComponent - Throws:
IllegalAccessExceptionNoSuchFieldExceptionInstantiationException
-
ssl
@Produces @Named("ssl") org.apache.camel.support.jsse.SSLContextParameters ssl()
-
configure
public void configure() throws Exception- Specified by:
configurein classorg.apache.camel.builder.RouteBuilder- Throws:
Exception
-
createServerSSLContextParameters
public org.apache.camel.support.jsse.SSLContextParameters createServerSSLContextParameters()
Creates SSL Context Parameters for the server- Returns:
-
-