|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.impl.ScheduledPollEndpoint
org.apache.camel.component.file.GenericFileEndpoint<File>
org.apache.camel.component.file.FileEndpoint
public class FileEndpoint
File endpoint.
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.component.file.GenericFileEndpoint |
|---|
autoCreate, bufferSize, charset, configuration, DEFAULT_IDEMPOTENT_CACHE_SIZE, DEFAULT_STRATEGYFACTORY_CLASS, delete, directoryMustExist, doneFileName, eagerDeleteTargetFile, exclude, exclusiveReadLockStrategy, fileExist, fileName, filter, flatten, idempotent, idempotentRepository, include, inProgressRepository, keepLastModified, localWorkDirectory, log, maxDepth, maxMessagesPerPoll, minDepth, move, moveFailed, noop, preMove, processStrategy, readLock, readLockCheckInterval, readLockTimeout, recursive, sortBy, sorter, startingDirectoryMustExist, tempFileName, tempPrefix |
| Constructor Summary | |
|---|---|
FileEndpoint()
|
|
FileEndpoint(String endpointUri,
Component component)
|
|
| Method Summary | |
|---|---|
FileConsumer |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
protected String |
createEndpointUri()
A factory method to lazily create the endpointUri if none is specified |
Exchange |
createExchange(GenericFile<File> file)
|
GenericFileProducer<File> |
createProducer()
Creates a new producer which is used send messages into the endpoint |
File |
getFile()
|
char |
getFileSeparator()
|
String |
getScheme()
|
boolean |
isAbsolute(String name)
|
void |
setFile(File file)
|
| Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint |
|---|
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties |
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
|---|
createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
|---|
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Endpoint |
|---|
configureProperties, createExchange, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointKey, getEndpointUri, isLenientProperties, setCamelContext |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Constructor Detail |
|---|
public FileEndpoint()
public FileEndpoint(String endpointUri,
Component component)
| Method Detail |
|---|
public FileConsumer createConsumer(Processor processor)
throws Exception
Endpoint
createConsumer in interface EndpointcreateConsumer in class GenericFileEndpoint<File>processor - the given processor
Exception - can be thrown
public GenericFileProducer<File> createProducer()
throws Exception
Endpoint
createProducer in interface EndpointcreateProducer in class GenericFileEndpoint<File>Exception - can be thrownpublic Exchange createExchange(GenericFile<File> file)
createExchange in class GenericFileEndpoint<File>public File getFile()
public void setFile(File file)
public String getScheme()
getScheme in class GenericFileEndpoint<File>protected String createEndpointUri()
DefaultEndpoint
createEndpointUri in class DefaultEndpointpublic char getFileSeparator()
getFileSeparator in class GenericFileEndpoint<File>public boolean isAbsolute(String name)
isAbsolute in class GenericFileEndpoint<File>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||