Skip to content

Commit 091e94e

Browse files
committed
Fix import in JmsDslKotlinTests.kt
https://build.spring.io/browse/INT-SI50X-43 Expire message groups for the `JdbcMessageStoreTests` https://build.spring.io/browse/INT-FATS5IC-494
1 parent d9fb0c6 commit 091e94e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/store/JdbcMessageStoreTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -78,7 +78,8 @@ public class JdbcMessageStoreTests {
7878

7979
@Before
8080
public void init() {
81-
messageStore = new JdbcMessageStore(dataSource);
81+
this.messageStore = new JdbcMessageStore(dataSource);
82+
this.messageStore.expireMessageGroups(-1);
8283
}
8384

8485
@Test

spring-integration-jms/src/test/kotlin/org/springframework/integration/jms/dsl/JmsDslKotlinTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import org.springframework.context.annotation.Configuration
2727
import org.springframework.integration.config.EnableIntegration
2828
import org.springframework.integration.dsl.IntegrationFlow
2929
import org.springframework.integration.dsl.IntegrationFlows
30-
import org.springframework.integration.dsl.MessageChannels
30+
import org.springframework.integration.dsl.channel.MessageChannels
3131
import org.springframework.integration.support.MessageBuilder
3232
import org.springframework.messaging.MessageChannel
3333
import org.springframework.messaging.PollableChannel

0 commit comments

Comments
 (0)