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 f3660fc Fixed test f3660fc is described below commit f3660fc94d66f9f0c6dbcde2ae65cf557062e9f3 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Feb 26 15:43:48 2021 +0100 Fixed test --- .../java/org/apache/camel/component/sjms/SjmsComponentRestartTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/SjmsComponentRestartTest.java b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/SjmsComponentRestartTest.java index 5c0f2b6..28ddb49 100644 --- a/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/SjmsComponentRestartTest.java +++ b/components/camel-sjms/src/test/java/org/apache/camel/component/sjms/SjmsComponentRestartTest.java @@ -59,6 +59,9 @@ public class SjmsComponentRestartTest extends CamelTestSupport { resetMocks(); + // rebind as the registry is cleared on stop + context.getRegistry().bind("activemqCF", connectionFactory); + context.start(); getMockEndpoint("mock:test").expectedMessageCount(1);