public class GcsStreamingMessageSource extends org.springframework.integration.file.remote.AbstractRemoteFileStreamingMessageSource<BlobInfo>
Constructor and Description |
---|
GcsStreamingMessageSource(org.springframework.integration.file.remote.RemoteFileTemplate<BlobInfo> template) |
GcsStreamingMessageSource(org.springframework.integration.file.remote.RemoteFileTemplate<BlobInfo> template,
Comparator<BlobInfo> comparator)
Creates a
GcsStreamingMessageSource with a comparator which controls the order
that files are processed in. |
Modifier and Type | Method and Description |
---|---|
protected List<org.springframework.integration.file.remote.AbstractFileInfo<BlobInfo>> |
asFileInfoList(Collection<BlobInfo> collection) |
String |
getComponentType() |
protected boolean |
isDirectory(BlobInfo blobInfo) |
void |
setRemoteFileSeparator(String remoteFileSeparator) |
doInit, doReceive, doSetFilter, getRemoteFileTemplate, isRunning, onInit, poll, remotePath, rollbackFromFileToListEnd, setFileInfoJson, setFilter, setRemoteDirectory, setRemoteDirectoryExpression, start, stop
doReceive, getMaxFetchSize, setMaxFetchSize
buildMessage, destroy, getBeanName, getComponentName, getManagedName, getManagedType, getOverrides, isLoggingEnabled, receive, registerMetricsCaptor, setBeanName, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedType
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public GcsStreamingMessageSource(org.springframework.integration.file.remote.RemoteFileTemplate<BlobInfo> template)
public GcsStreamingMessageSource(org.springframework.integration.file.remote.RemoteFileTemplate<BlobInfo> template, Comparator<BlobInfo> comparator)
GcsStreamingMessageSource
with a comparator
which controls the order
that files are processed in.template
- template making remote file calls to Google Cloud Storagecomparator
- defines the order that files should be processed based on BlobInfo
.public String getComponentType()
public void setRemoteFileSeparator(String remoteFileSeparator)
setRemoteFileSeparator
in class org.springframework.integration.file.remote.AbstractRemoteFileStreamingMessageSource<BlobInfo>
protected List<org.springframework.integration.file.remote.AbstractFileInfo<BlobInfo>> asFileInfoList(Collection<BlobInfo> collection)
asFileInfoList
in class org.springframework.integration.file.remote.AbstractRemoteFileStreamingMessageSource<BlobInfo>
Copyright © 2021. All rights reserved.