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 93e1be7 CAMEL-16279: camel-core - Optimize core to reduce object
allocations by pooloing reusable tasks in the routing engine.
93e1be7 is described below
commit 93e1be795384c5c4afe2f50610e4454755360da4
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Mar 10 12:54:54 2021 +0100
CAMEL-16279: camel-core - Optimize core to reduce object allocations by
pooloing reusable tasks in the routing engine.
---
.../src/test/java/org/apache/camel/component/xmpp/XmppRouteTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/components/camel-xmpp/src/test/java/org/apache/camel/component/xmpp/XmppRouteTest.java
b/components/camel-xmpp/src/test/java/org/apache/camel/component/xmpp/XmppRouteTest.java
index a73230a..614ba0f 100644
---
a/components/camel-xmpp/src/test/java/org/apache/camel/component/xmpp/XmppRouteTest.java
+++
b/components/camel-xmpp/src/test/java/org/apache/camel/component/xmpp/XmppRouteTest.java
@@ -89,7 +89,7 @@ public class XmppRouteTest extends XmppBaseTest {
from(uri1).to(uri2);
from(uri3).process(e -> {
LOG.info("Received exchange: " + e);
- receivedExchange = e;
+ receivedExchange = e.copy();
latch.countDown();
});
}