Class HvlMailNotificationKafkaConsumer
java.lang.Object
tr.com.havelsan.javarch.notification.mail.starter.consumer.HvlMailNotificationKafkaConsumer
Kafka consumer for Mail Notification.
-
Constructor Summary
ConstructorDescriptionHvlMailNotificationKafkaConsumer
(HvlNotificationMailService notificationMailService) Instantiates a new HvlMailNotificationKafkaConsumer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
consumeEventLog
(HvlNotificationMailRequestModel mailNotificationRequestModel) Consumes event log.
-
Constructor Details
-
HvlMailNotificationKafkaConsumer
Instantiates a new HvlMailNotificationKafkaConsumer.- Parameters:
notificationMailService
- the notification mail service
-
-
Method Details
-
consumeEventLog
@KafkaListener(topics="${hvl.notification.mail.configuration.kafka.topic:javalt-oauth-mail-notification}") public void consumeEventLog(HvlNotificationMailRequestModel mailNotificationRequestModel) throws HvlNotificationMailException Consumes event log.- Parameters:
mailNotificationRequestModel
- the mail notification request model- Throws:
HvlNotificationMailException
- the notification mail exception
-