Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
54.3. Constraining an interceptors placement in a phase
Overview Link kopierenLink in die Zwischenablage kopiert!
Add to the chain before Link kopierenLink in die Zwischenablage kopiert!
AbstractPhaseInterceptor
class provides two addBefore()
methods.
Example 54.2. Methods for adding an interceptor before other interceptors
public void addBefore(String i);
public void addBefore(Collection<String> i);
addBefore()
method in the constuctor of a custom interceptor.
Example 54.3. Specifying a list of interceptors that must run after the current interceptor
Add to the chain after Link kopierenLink in die Zwischenablage kopiert!
AbstractPhaseInterceptor
class provides two addAfter()
methods for cases where an interceptor needs to be placed after one or more other interceptors.
Example 54.4. Methods for adding an interceptor after other interceptors
public void addAfter(String i);
public void addAfter(Collection<String> i);
addAfter()
method in the constuctor of a custom interceptor.
Example 54.5. Specifying a list of interceptors that must run before the current interceptor