From 6bd5ca4cbe090d0f0512d0c07ecbdf1730e87977 Mon Sep 17 00:00:00 2001 From: Yury Kartsev <3834742+ykartsev@users.noreply.github.com> Date: Tue, 12 May 2020 22:15:34 -0400 Subject: [PATCH] Fix XML examples in handler-advice reference doc 1. Add proper terminating tags for `request-handler-advice-chain`. 2. Replace `int:request-handler-advice-chain` with `int-http:request-handler-advice-chain` when used inside of an `int-http:outbound-gateway`. 3. Replace `` with `` 4. Replace `` with `` --- src/reference/asciidoc/handler-advice.adoc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/reference/asciidoc/handler-advice.adoc b/src/reference/asciidoc/handler-advice.adoc index 04db1de2c4..cfbd36f958 100644 --- a/src/reference/asciidoc/handler-advice.adoc +++ b/src/reference/asciidoc/handler-advice.adoc @@ -25,9 +25,9 @@ The following example shows how to the `` element url-expression="'http://localhost/test1'" request-channel="requests" reply-channel="nextChannel"> - + - + ---- @@ -110,7 +110,7 @@ The following example uses `RetryTemplate` and shows its `DEBUG` output: - + DEBUG [task-scheduler-2]preSend on channel 'input', message: [Payload=...] @@ -139,8 +139,8 @@ The following example adds a `RecoveryCallback` to the preceding example and use - - + + DEBUG [task-scheduler-2]preSend on channel 'input', message: [Payload=...] DEBUG [task-scheduler-2]Retry: count=0 @@ -173,7 +173,7 @@ The following listing shows the example and its `DEBUG` output: - + @@ -216,8 +216,8 @@ Starting with version 4.0, the preceding configuration can be greatly simplified ---- - - + + @@ -237,7 +237,7 @@ You can also define the advice directly within the chain, as the following examp - + ---- ==== @@ -669,7 +669,7 @@ Consider the following configuration: - + ----