Skip to content

Commit 21e3c28

Browse files
authored
release: 1.3.7 (#147)
2 parents 907aa4e + 29bf9b4 commit 21e3c28

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/kotlin/org/gitanimals/notification/infra/RedisMessageListenerConfiguration.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package org.gitanimals.notification.infra
33
import org.gitanimals.core.redis.RedisPubSubChannel
44
import org.gitanimals.notification.app.NotApprovedQuizCreatedMessageListener
55
import org.gitanimals.notification.app.QuizCreatedMessageListener
6+
import org.gitanimals.notification.app.SlackDeadLetterMessageListener
67
import org.gitanimals.notification.app.SlackRepliedMessageListener
78
import org.springframework.context.annotation.Bean
89
import org.springframework.context.annotation.Configuration
@@ -16,6 +17,7 @@ class RedisMessageListenerConfiguration(
1617
private val quizCreatedMessageListener: QuizCreatedMessageListener,
1718
private val notApprovedQuizCreatedMessageListener: NotApprovedQuizCreatedMessageListener,
1819
private val slackRepliedMessageListener: SlackRepliedMessageListener,
20+
private val slackDeadLetterMessageListener: SlackDeadLetterMessageListener,
1921
) {
2022

2123
@Bean
@@ -34,6 +36,10 @@ class RedisMessageListenerConfiguration(
3436
slackRepliedMessageListener,
3537
ChannelTopic(RedisPubSubChannel.SLACK_REPLIED),
3638
)
39+
this.addMessageListener(
40+
slackDeadLetterMessageListener,
41+
ChannelTopic(RedisPubSubChannel.DEAD_LETTER_OCCURRED),
42+
)
3743
}
3844
}
3945
}

0 commit comments

Comments
 (0)