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 7aaacb2dc37 Polished 7aaacb2dc37 is described below commit 7aaacb2dc374648c66b3921536eb7020046c429a Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Jan 18 18:21:52 2024 +0100 Polished --- .../main/java/org/apache/camel/spi/InternalProcessor.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/InternalProcessor.java b/core/camel-api/src/main/java/org/apache/camel/spi/InternalProcessor.java index 1275ef64be5..9716f3c6cdf 100644 --- a/core/camel-api/src/main/java/org/apache/camel/spi/InternalProcessor.java +++ b/core/camel-api/src/main/java/org/apache/camel/spi/InternalProcessor.java @@ -54,14 +54,29 @@ public interface InternalProcessor extends AsyncProcessor { */ <T> T getAdvice(Class<T> type); + /** + * Adds advice for handling {@link RoutePolicy} for the route + */ void addRoutePolicyAdvice(List<RoutePolicy> routePolicyList); + /** + * Adds advice for tracking inflight exchanges for the given route + */ void addRouteInflightRepositoryAdvice(InflightRepository inflightRepository, String routeId); + /** + * Add advice for setting up {@link UnitOfWork} with the lifecycle of the route. + */ void addRouteLifecycleAdvice(); + /** + * Add advice for JMX management for the route + */ void addManagementInterceptStrategy(ManagementInterceptStrategy.InstrumentationProcessor processor); + /** + * To make it possible for advices to access the created route. + */ void setRouteOnAdvices(Route route); }