GH-1412 Ensured SpelExpressionConverterConfiguration present in multi-binder

Ensured that SpelExpressionConverterConfiguration is always present in the AC regardless of single or multi-binder application configuration
Polishing

Resolves #1412
This commit is contained in:
Oleg Zhurakousky
2018-07-09 20:28:48 +02:00
committed by Soby Chacko
parent 66cfdffad9
commit 37ecae4ab7
5 changed files with 16 additions and 12 deletions

View File

@@ -53,7 +53,7 @@ import static org.junit.Assert.assertNull;
*/
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = { MessageChannelConfigurerTests.TestSink.class,
MessageChannelConfigurerTests.TestSource.class })
MessageChannelConfigurerTests.TestSource.class, SpelExpressionConverterConfiguration.class})
public class MessageChannelConfigurerTests {
@Autowired
@@ -65,8 +65,6 @@ public class MessageChannelConfigurerTests {
@Autowired
private CompositeMessageConverterFactory messageConverterFactory;
private ObjectMapper objectMapper = new ObjectMapper();
@Autowired
private MessageCollector messageCollector;