Skip to content

Commit

Permalink
Fix ListenerContainer to assert KafkaDataListener
Browse files Browse the repository at this point in the history
https://build.spring.io/browse/SK-SK13X-32

**Cherry-pick to 1.2.x & 1.1.x**

(cherry picked from commit 90cf576)
  • Loading branch information
artembilan committed Sep 28, 2017
1 parent 161b367 commit 33e6848
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public final void start() {
synchronized (this.lifecycleMonitor) {
if (!isRunning()) {
Assert.isTrue(
this.containerProperties.getMessageListener() instanceof GenericMessageListener,
this.containerProperties.getMessageListener() instanceof KafkaDataListener,
"A " + GenericMessageListener.class.getName() + " implementation must be provided");
doStart();
}
Expand Down

0 comments on commit 33e6848

Please sign in to comment.