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, doReceive, doSetFilter, getRemoteFileTemplate, isRunning, onInit, poll, remotePath, rollbackFromFileToListEnd, setFileInfoJson, setFilter, setRemoteDirectory, setRemoteDirectoryExpression, start, stopgetMaxFetchSize, setMaxFetchSizebuildMessage, destroy, getBeanName, getComponentName, getManagedName, getManagedType, getMessageCount, getMessageCountLong, getOverrides, isCountsEnabled, isLoggingEnabled, receive, registerMetricsCaptor, reset, setBeanName, setCountsEnabled, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedTypeafterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetManagedName, getManagedType, getMessageCount, getMessageCountLong, messageCount, setManagedName, setManagedTypepublic 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 © 2020 Pivotal Software, Inc.. All rights reserved.