This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch CAMEL-16757
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/CAMEL-16757 by this push:
new 113b724 CAMEL-16757: camel-core - Global error handling, interceptor
in all DSL
113b724 is described below
commit 113b7240e4defff455c3b432506d3528c106197c
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jul 8 15:08:34 2021 +0200
CAMEL-16757: camel-core - Global error handling, interceptor in all DSL
---
.../src/main/java/org/apache/camel/model/Model.java | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/model/Model.java
b/core/camel-core-model/src/main/java/org/apache/camel/model/Model.java
index 2697e99..7f35cb5 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/model/Model.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/model/Model.java
@@ -49,11 +49,25 @@ public interface Model {
*/
List<ModelLifecycleStrategy> getModelLifecycleStrategies();
- // TODO: better names
+ /**
+ * Adds a collection of route configuration definitions to the context
+ *
+ * @param routesConfigurations the route configuration(s) definition
to add
+ */
void addRouteConfigurations(List<RouteConfigurationDefinition>
routesConfigurations);
+ /**
+ * Adds a single route configuration definition to the context
+ *
+ * @param routesConfiguration the route configuration to add
+ */
void addRouteConfiguration(RouteConfigurationDefinition
routesConfiguration);
+ /**
+ * Returns a list of the current route configuration definitions
+ *
+ * @return list of the current route configuration definitions
+ */
List<RouteConfigurationDefinition> getRouteConfigurationDefinitions();
/**