Class HvlNotificationLoggerProducerProviderImpl
java.lang.Object
tr.com.havelsan.javarch.notification.mail.starter.service.logger.HvlNotificationLoggerProducerProviderImpl
- All Implemented Interfaces:
HvlNotificationLoggerProducerProvider
@Service
public class HvlNotificationLoggerProducerProviderImpl
extends Object
implements HvlNotificationLoggerProducerProvider
The class which implements
HvlNotificationLoggerProducerProvider
.-
Constructor Summary
ConstructorDescriptionHvlNotificationLoggerProducerProviderImpl
(tr.com.havelsan.javarch.log.producer.mq.provider.service.HvlLogProducerMqProvider logProducerMqProvider, HvlNotificationProperties notificationProperties) Instantiates a new HvlNotificationLoggerProducerProvider. -
Method Summary
Modifier and TypeMethodDescriptionvoid
produceSync
(@NotBlank String message, @NotBlank String logType) Produce sync.void
produceSync
(@NotNull tr.com.havelsan.javarch.log.common.model.HvlEventLogModel eventLogModel) Produce sync.
-
Constructor Details
-
HvlNotificationLoggerProducerProviderImpl
public HvlNotificationLoggerProducerProviderImpl(tr.com.havelsan.javarch.log.producer.mq.provider.service.HvlLogProducerMqProvider logProducerMqProvider, HvlNotificationProperties notificationProperties) Instantiates a new HvlNotificationLoggerProducerProvider.- Parameters:
logProducerMqProvider
- the log producer mq providernotificationProperties
- the notification properties
-
-
Method Details
-
produceSync
public void produceSync(@NotNull @NotNull tr.com.havelsan.javarch.log.common.model.HvlEventLogModel eventLogModel) Produce sync.- Specified by:
produceSync
in interfaceHvlNotificationLoggerProducerProvider
- Parameters:
eventLogModel
- the event log model
-
produceSync
Produce sync.- Specified by:
produceSync
in interfaceHvlNotificationLoggerProducerProvider
- Parameters:
message
- the messagelogType
- the log type
-