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 c1f94647724357b865dc6893ad63fae5b83e570f Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Thu Sep 5 13:52:31 2024 +0200 CAMEL-21040: fixed grammar, typos and other issues in the delay interceptor documentation --- docs/user-manual/modules/ROOT/pages/delay-interceptor.adoc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/delay-interceptor.adoc b/docs/user-manual/modules/ROOT/pages/delay-interceptor.adoc index 82c964a6f30..078c705d4e9 100644 --- a/docs/user-manual/modules/ROOT/pages/delay-interceptor.adoc +++ b/docs/user-manual/modules/ROOT/pages/delay-interceptor.adoc @@ -3,19 +3,20 @@ The Delayer is used for slowing processing of messages. This allows you to set a fixed amount of delay between each step a message passes in -the route, to better show how things is happening nice and slowly, so you +the route. +It can be used to better show how things are happening nicely and slowly, so you are not bombarded with a zillion lines of logging output. == Using Delayer The delayer can be configured on two levels: -- CamelContext - _Globally_ -- Route - _Individually per route_ +- Camel context: _Globally_ +- Route: _Individually per route_ === Configuring using XML DSL -Just set the `delayer` attribute of the `<camelContext>` tag as shown below: +Set the `delayer` attribute of the `<camelContext>` tag as shown below: [source,xml] -------------------------------------------------------------------------------------------------- @@ -41,7 +42,7 @@ camelContext.setDelayer(200); You can also configure it on both camel context and per route as you like. Per route will override the camel context setting. -For example the route below is only the first route that has a delayer with 200 millis. +For example, the route below is only the first route that has a delayer with 200 milliseconds. [source,xml] ----
