Class RemoteFileDeletingAdvice
java.lang.Object
org.springframework.cloud.fn.common.file.remote.RemoteFileDeletingAdvice
- All Implemented Interfaces:
Advice
,Interceptor
,MethodInterceptor
,org.springframework.integration.aop.MessageSourceMutator
,org.springframework.integration.aop.ReceiveMessageAdvice
public class RemoteFileDeletingAdvice
extends Object
implements org.springframework.integration.aop.MessageSourceMutator
A
MessageSourceMutator
that deletes a remote file on success.- Author:
- David Turanski, Artem Bilan
-
Constructor Summary
ConstructorDescriptionRemoteFileDeletingAdvice
(org.springframework.integration.file.remote.RemoteFileTemplate<?> template, String remoteFileSeparator) Construct an instance with the provided template and separator. -
Method Summary
Modifier and TypeMethodDescriptionMessage<?>
afterReceive
(Message<?> result, org.springframework.integration.core.MessageSource<?> source) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.integration.aop.MessageSourceMutator
afterReceive, beforeReceive, beforeReceive
Methods inherited from interface org.springframework.integration.aop.ReceiveMessageAdvice
invoke
-
Constructor Details
-
RemoteFileDeletingAdvice
public RemoteFileDeletingAdvice(org.springframework.integration.file.remote.RemoteFileTemplate<?> template, String remoteFileSeparator) Construct an instance with the provided template and separator.- Parameters:
template
- the template.remoteFileSeparator
- the separator.
-
-
Method Details