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 57cd0f2 CAMEL-16279: camel-core - Optimize core to reduce object allocations by pooloing reusable tasks in the routing engine. 57cd0f2 is described below commit 57cd0f2bac8572b1e588f085bf83a195c6f71b08 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Mar 8 16:54:15 2021 +0100 CAMEL-16279: camel-core - Optimize core to reduce object allocations by pooloing reusable tasks in the routing engine. --- .../main/java/org/apache/camel/impl/engine/SimpleCamelContext.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/SimpleCamelContext.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/SimpleCamelContext.java index efe5d39..057cd5a 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/SimpleCamelContext.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/SimpleCamelContext.java @@ -16,6 +16,9 @@ */ package org.apache.camel.impl.engine; +import java.util.Map; +import java.util.Optional; + import org.apache.camel.CamelContext; import org.apache.camel.Endpoint; import org.apache.camel.Processor; @@ -82,9 +85,6 @@ import org.apache.camel.support.ResolverHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.util.Map; -import java.util.Optional; - /** * Represents the context used to configure routes and the policies to use. */