This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 87f3832b9d4b6269bc45bfec654a8b62dd11e91d Author: Otavio R. Piske <[email protected]> AuthorDate: Sun Feb 25 08:57:56 2024 +0100 CAMEL-20459: documentation fixes for the filter EIP. Signed-off-by: Otavio R. Piske <[email protected]> --- .../src/main/docs/modules/eips/pages/filter-eip.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/filter-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/filter-eip.adoc index 043a3bc1d6a..be8f28c735c 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/filter-eip.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/filter-eip.adoc @@ -117,7 +117,7 @@ public static class MyBean { } ---- -And in XML we can call the bean in `<method>` where we can specify the FQN classname +And in XML we can call the bean in `<method>` where we can specify the FQN class name of the bean as shown: [source,xml] @@ -172,7 +172,7 @@ whether it was `true` or `false`. When using the Message Filter EIP, then it only applies to its children. -For example in the previous example: +For example, in the previous example: [source,xml] ---- @@ -186,11 +186,11 @@ For example in the previous example: </route> ---- -Then for a message that is a gold customer will be routed to both mock:gold and mock:all (predicate is true). +Then for a message that is a gold customer will be routed to both `mock:gold` and `mock:all` (predicate is true). However, for a non-gold message (predicate is false) then the message will not be routed in the filter block, but will be routed to mock:all. -Sometimes you may want to stop continue routing for messages that was filtered. +Sometimes you may want to stop routing for messages that were filtered. To do this, you can use the xref:stop-eip.adoc[Stop] EIP as shown: [source,xml]
