This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new f5c1491b30f CAMEL-20777: Update intercept docs for camel v4 where 
intercept is to be configured via route configurations.
f5c1491b30f is described below

commit f5c1491b30feec4618bd137372c9cd44703a31f4
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu May 16 17:27:26 2024 +0200

    CAMEL-20777: Update intercept docs for camel v4 where intercept is to be 
configured via route configurations.
---
 .../main/docs/modules/eips/pages/intercept.adoc    | 37 +---------------------
 1 file changed, 1 insertion(+), 36 deletions(-)

diff --git 
a/core/camel-core-engine/src/main/docs/modules/eips/pages/intercept.adoc 
b/core/camel-core-engine/src/main/docs/modules/eips/pages/intercept.adoc
index b63b491813b..25a73f2a1a1 100644
--- a/core/camel-core-engine/src/main/docs/modules/eips/pages/intercept.adoc
+++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/intercept.adoc
@@ -23,44 +23,9 @@ messages from this endpoint, then the `interceptFrom` is not 
triggered.
 
 === Interceptor scopes
 
-All the interceptors can be configured on global, route scope, or with
+All the interceptors can be configured on global, or with
 xref:manual::route-configuration.adoc[Route Configuration].
 
-This means multiple interceptors can be _triggered_.
-
-Most of the examples in this page are on global scope.
-To use route scope, then it is similar, but it is done on the route as shown 
in the following example:
-
-[tabs]
-====
-
-Java::
-+
-
-[source,java]
--------------------------------------------------------------------------
-from("jms:queue:order")
-   .intercept().to("log:hello").end() // intercepts only in this route
-  .to("bean:validateOrder")
-  .to("bean:processOrder");
--------------------------------------------------------------------------
-
-XML::
-+
-[source,xml]
-----
-  <route>
-    <from uri="jms:queue:order"/>
-    <intercept>
-      <to uri="log:hello"/>
-    </intercept>
-    <to uri="bean:validateOrder"/>
-    <to uri="bean:processOrder"/>
-  </route>
-----
-
-====
-
 === Common features of the interceptors
 
 All these interceptors support the following features:

Reply via email to