You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/01/03 07:36:18 UTC
[camel] branch master updated: CAMEL-14345: camel-core - Optimize
SendProcessor to not use ProducerCache when not needed
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 0d1f6ee CAMEL-14345: camel-core - Optimize SendProcessor to not use ProducerCache when not needed
0d1f6ee is described below
commit 0d1f6eeaf49b52e3acfc7025df54e8a4fdfeb7f8
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Jan 3 08:13:38 2020 +0100
CAMEL-14345: camel-core - Optimize SendProcessor to not use ProducerCache when not needed
---
.../apache/camel/component/sjms/producer/NoConnectionFactoryTest.java | 2 --
.../camel/component/sjms/tx/TransactedProducerInOutErrorTest.java | 1 -
2 files changed, 3 deletions(-)
diff --git a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/producer/NoConnectionFactoryTest.java b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/producer/NoConnectionFactoryTest.java
index 553fc37..7647a12 100644
--- a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/producer/NoConnectionFactoryTest.java
+++ b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/producer/NoConnectionFactoryTest.java
@@ -70,7 +70,6 @@ public class NoConnectionFactoryTest {
context.start();
} catch (Throwable t) {
Assert.assertEquals(FailedToStartRouteException.class, t.getClass());
- Assert.assertEquals(FailedToCreateProducerException.class, t.getCause().getClass());
Assert.assertEquals(IllegalArgumentException.class, t.getCause().getCause().getClass());
LOG.info("Expected exception was thrown", t);
return;
@@ -86,7 +85,6 @@ public class NoConnectionFactoryTest {
context.start();
} catch (Throwable t) {
Assert.assertEquals(FailedToStartRouteException.class, t.getClass());
- Assert.assertEquals(FailedToCreateProducerException.class, t.getCause().getClass());
Assert.assertEquals(IllegalArgumentException.class, t.getCause().getCause().getClass());
LOG.info("Expected exception was thrown", t);
return;
diff --git a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/tx/TransactedProducerInOutErrorTest.java b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/tx/TransactedProducerInOutErrorTest.java
index 2a95b15..2fbc6e0 100644
--- a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/tx/TransactedProducerInOutErrorTest.java
+++ b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/tx/TransactedProducerInOutErrorTest.java
@@ -45,7 +45,6 @@ public class TransactedProducerInOutErrorTest {
context.start();
} catch (Throwable t) {
Assert.assertEquals(FailedToStartRouteException.class, t.getClass());
- Assert.assertEquals(FailedToCreateProducerException.class, t.getCause().getClass());
Assert.assertEquals(IllegalArgumentException.class, t.getCause().getCause().getClass());
LOG.info("Exception was thrown as expected", t);
throw t;