This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new c8fdce3 CAMEL-16161: Route template does not support autoStartup c8fdce3 is described below commit c8fdce39e802234dcc7c7dffaf4ba8f0838db2a7 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sun Feb 7 14:23:23 2021 +0100 CAMEL-16161: Route template does not support autoStartup --- .../camel/model/RouteTemplateDefinition.java | 27 +++++++++++----------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/RouteTemplateDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/RouteTemplateDefinition.java index e5fa49f..e799ed9 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/RouteTemplateDefinition.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/RouteTemplateDefinition.java @@ -186,26 +186,27 @@ public class RouteTemplateDefinition extends OptionalIdentifiedDefinition { RouteDefinition copy = new RouteDefinition(); // do not copy id as it is used for route template id - copy.setInheritErrorHandler(route.isInheritErrorHandler()); + copy.setAutoStartup(route.getAutoStartup()); + copy.setDelayer(route.getDelayer()); + copy.setErrorHandlerFactory(route.getErrorHandlerFactory()); + copy.setErrorHandlerRef(route.getErrorHandlerRef()); copy.setGroup(route.getGroup()); - copy.setStreamCache(route.getStreamCache()); - copy.setTrace(route.getTrace()); - copy.setMessageHistory(route.getMessageHistory()); + copy.setInheritErrorHandler(route.isInheritErrorHandler()); + copy.setInput(route.getInput()); + copy.setInputType(route.getInputType()); copy.setLogMask(route.getLogMask()); - copy.setDelayer(route.getDelayer()); - copy.setStartupOrder(route.getStartupOrder()); + copy.setMessageHistory(route.getMessageHistory()); + copy.setOutputType(route.getOutputType()); + copy.setOutputs(route.getOutputs()); copy.setRoutePolicies(route.getRoutePolicies()); copy.setRoutePolicyRef(route.getRoutePolicyRef()); + copy.setRouteProperties(route.getRouteProperties()); copy.setShutdownRoute(route.getShutdownRoute()); copy.setShutdownRunningTask(route.getShutdownRunningTask()); - copy.setErrorHandlerRef(route.getErrorHandlerRef()); - copy.setErrorHandlerFactory(route.getErrorHandlerFactory()); - copy.setInputType(route.getInputType()); - copy.setOutputType(route.getOutputType()); - copy.setRouteProperties(route.getRouteProperties()); + copy.setStartupOrder(route.getStartupOrder()); + copy.setStreamCache(route.getStreamCache()); copy.setTemplate(true); - copy.setInput(route.getInput()); - copy.setOutputs(route.getOutputs()); + copy.setTrace(route.getTrace()); if (route.getDescription() != null) { copy.setDescription(route.getDescription()); } else {