From c85f1d444a47ac53f1c6ebb76ffe615290636771 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Mon, 29 Apr 2019 09:35:39 -0400 Subject: [PATCH] JmsMockTests: stopped Channel Adapter by default https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2806 To avoid race condition around `JmsTemplate` mock setup it is better to have a `` stopped by default. We start it later in the test-case when all the environment is already set --- .../testing/jms/JmsMockTests-context.xml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/advanced/advanced-testing-examples/src/test/java/org/springframework/integration/samples/advance/testing/jms/JmsMockTests-context.xml b/advanced/advanced-testing-examples/src/test/java/org/springframework/integration/samples/advance/testing/jms/JmsMockTests-context.xml index 8e8191ec..b5c83021 100644 --- a/advanced/advanced-testing-examples/src/test/java/org/springframework/integration/samples/advance/testing/jms/JmsMockTests-context.xml +++ b/advanced/advanced-testing-examples/src/test/java/org/springframework/integration/samples/advance/testing/jms/JmsMockTests-context.xml @@ -1,9 +1,9 @@ @@ -13,14 +13,17 @@ an exception, an ErrorMessage containing the exception will be sent to the error channel for additional handling. --> - + - - + + - +