public class SftpSupplierRotator
extends org.springframework.integration.file.remote.aop.RotatingServerAdvice
RotatingServerAdvice
for listing files on multiple directories/servers.Constructor and Description |
---|
SftpSupplierRotator(SftpSupplierProperties properties,
org.springframework.integration.file.remote.aop.StandardRotationPolicy rotationPolicy) |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.Message<?> |
afterReceive(org.springframework.messaging.Message<?> result,
org.springframework.integration.core.MessageSource<?> source) |
String |
getCurrentDirectory() |
String |
getCurrentKey() |
beforeReceive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SftpSupplierRotator(SftpSupplierProperties properties, org.springframework.integration.file.remote.aop.StandardRotationPolicy rotationPolicy)
public String getCurrentKey()
public String getCurrentDirectory()
public org.springframework.messaging.Message<?> afterReceive(org.springframework.messaging.Message<?> result, org.springframework.integration.core.MessageSource<?> source)
afterReceive
in interface org.springframework.integration.aop.MessageSourceMutator
afterReceive
in class org.springframework.integration.file.remote.aop.RotatingServerAdvice
Copyright © 2020. All rights reserved.