From bcfd81abbaf628ab2cf392f117b6598997a86553 Mon Sep 17 00:00:00 2001 From: Mattias Date: Wed, 8 Nov 2023 15:54:09 +0100 Subject: [PATCH] Fix sample in `sftp/streaming.adoc` * Add missing `/` between the path and filename. --- src/reference/antora/modules/ROOT/pages/sftp/streaming.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reference/antora/modules/ROOT/pages/sftp/streaming.adoc b/src/reference/antora/modules/ROOT/pages/sftp/streaming.adoc index 54644f6f88..08bf1ed76a 100644 --- a/src/reference/antora/modules/ROOT/pages/sftp/streaming.adoc +++ b/src/reference/antora/modules/ROOT/pages/sftp/streaming.adoc @@ -94,7 +94,7 @@ public class SftpJavaApplication { public ExpressionEvaluatingRequestHandlerAdvice after() { ExpressionEvaluatingRequestHandlerAdvice advice = new ExpressionEvaluatingRequestHandlerAdvice(); advice.setOnSuccessExpression( - "@template.remove(headers['file_remoteDirectory'] + headers['file_remoteFile'])"); + "@template.remove(headers['file_remoteDirectory'] + '/' + headers['file_remoteFile'])"); advice.setPropagateEvaluationFailures(true); return advice; }