org.apache.camel.component.file.remote
Class RemoteFileEndpoint<T extends RemoteFileExchange>
java.lang.Object
org.apache.camel.impl.DefaultEndpoint<E>
org.apache.camel.impl.ScheduledPollEndpoint<T>
org.apache.camel.component.file.remote.RemoteFileEndpoint<T>
- All Implemented Interfaces:
- CamelContextAware, Endpoint<T>
- Direct Known Subclasses:
- FtpEndpoint, SftpEndpoint
public abstract class RemoteFileEndpoint<T extends RemoteFileExchange>
- extends ScheduledPollEndpoint<T>
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
convertTo, createEndpointUri, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getComponent, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString |
RemoteFileEndpoint
public RemoteFileEndpoint(String uri,
RemoteFileComponent component,
RemoteFileConfiguration configuration)
RemoteFileEndpoint
protected RemoteFileEndpoint(String endpointUri,
RemoteFileConfiguration configuration)
RemoteFileEndpoint
protected RemoteFileEndpoint(String endpointUri)
createRemoteFileBinding
protected RemoteFileBinding createRemoteFileBinding()
createExchange
public T createExchange()
- Specified by:
createExchange
in interface Endpoint<T extends RemoteFileExchange>
- Overrides:
createExchange
in class DefaultEndpoint<T extends RemoteFileExchange>
createExchange
public T createExchange(ExchangePattern pattern)
- Specified by:
createExchange
in interface Endpoint<T extends RemoteFileExchange>
- Overrides:
createExchange
in class DefaultEndpoint<T extends RemoteFileExchange>
createExchange
public T createExchange(String fullFileName,
String fileName,
long fileLength,
ByteArrayOutputStream outputStream)
getBinding
public RemoteFileBinding getBinding()
setBinding
public void setBinding(RemoteFileBinding binding)
isSingleton
public boolean isSingleton()
getConfiguration
public RemoteFileConfiguration getConfiguration()
setConfiguration
public void setConfiguration(RemoteFileConfiguration configuration)
getGeneratedFileName
public String getGeneratedFileName(Message message)
- Return the file name that will be auto-generated for the given message if none is provided
getFileFriendlyMessageId
protected String getFileFriendlyMessageId(String id)
Apache CAMEL