public abstract class GenericFileComponent<T>
extends org.apache.camel.support.DefaultComponent
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
GenericFileComponent() |
GenericFileComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
afterPropertiesSet(GenericFileEndpoint<T> endpoint)
A factory method for derived file components to perform validation of properties
|
protected abstract GenericFileEndpoint<T> |
buildFileEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
A factory method for derived file components to create the endpoint
|
protected GenericFileEndpoint<T> |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic GenericFileComponent()
public GenericFileComponent(org.apache.camel.CamelContext context)
protected GenericFileEndpoint<T> createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.support.DefaultComponentExceptionprotected abstract GenericFileEndpoint<T> buildFileEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
uri - the full URI of the endpointremaining - the remaining part of the URI without the query parameters or component prefixparameters - the optional parameters passed inException - can be thrownprotected abstract void afterPropertiesSet(GenericFileEndpoint<T> endpoint) throws Exception
endpoint - the endpointException - can be thrown in case of validation errorsApache Camel