Class NotificationEventListener

java.lang.Object
com.skava.event.message.NotificationEventListener

@ConditionalOnProperty(prefix="skava.event", name="enabled", havingValue="true") @Configuration public class NotificationEventListener extends Object

NotificationEventListener class.

The Class NotificationEventListener is used to listen to queues and process the received objects.
Version:
$Id: $Id
Author:
Infosys Equinox
  • Constructor Details

    • NotificationEventListener

      @Autowired public NotificationEventListener(com.fasterxml.jackson.databind.ObjectMapper objectMapper, SendNotificationsService sendNotification)
      Instantiates a new notification event listener.
      Parameters:
      objectMapper - the object mapper
      sendNotification - the send notification
  • Method Details

    • setEventClientComponent

      @Autowired(required=false) public void setEventClientComponent(com.skava.core.event.EventClientComponent eventClientComponent)
      Sets the event client component.
      Parameters:
      eventClientComponent - the new event client component
    • init

      @PostConstruct public void init()
      This method is used to initialize the component