public class RemoteFileDeletingAdvice extends Object implements org.springframework.integration.aop.MessageSourceMutator
MessageSourceMutator that deletes a remote file on success.| Constructor and Description |
|---|
RemoteFileDeletingAdvice(org.springframework.integration.file.remote.RemoteFileTemplate<?> template,
String remoteFileSeparator)
Construct an instance with the provided template and separator.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.messaging.Message<?> |
afterReceive(org.springframework.messaging.Message<?> result,
org.springframework.integration.core.MessageSource<?> source) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic RemoteFileDeletingAdvice(org.springframework.integration.file.remote.RemoteFileTemplate<?> template,
String remoteFileSeparator)
template - the template.remoteFileSeparator - the separator.@Nullable
public org.springframework.messaging.Message<?> afterReceive(@Nullable
org.springframework.messaging.Message<?> result,
org.springframework.integration.core.MessageSource<?> source)
afterReceive in interface org.springframework.integration.aop.MessageSourceMutatorCopyright © 2021. All rights reserved.