@Component(value="file") public class FileComponent extends GenericFileComponent<File>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_LOCK_FILE_POSTFIX
Default camel lock filename postfix
|
static String |
FILE_EXCHANGE_FILE
GenericFile property on Camel Exchanges.
|
log| Constructor and Description |
|---|
FileComponent() |
FileComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterPropertiesSet(GenericFileEndpoint<File> endpoint)
A factory method for derived file components to perform validation of
properties
|
protected GenericFileEndpoint<File> |
buildFileEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
A factory method for derived file components to create the endpoint
|
createEndpointafterConfiguration, createEndpoint, createEndpoint, doBuild, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doInit, 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 static final String FILE_EXCHANGE_FILE
public static final String DEFAULT_LOCK_FILE_POSTFIX
public FileComponent()
public FileComponent(org.apache.camel.CamelContext context)
protected GenericFileEndpoint<File> buildFileEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
GenericFileComponentbuildFileEndpoint in class GenericFileComponent<File>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 void afterPropertiesSet(GenericFileEndpoint<File> endpoint) throws Exception
GenericFileComponentafterPropertiesSet in class GenericFileComponent<File>endpoint - the endpointException - can be thrown in case of validation errorsApache Camel