java.lang.Object
es.kukenan.smartfi.amqp.controller.AbstractAmqpController<es.kukenan.smartfi.events.common.AbstractEvent>
es.kukenan.smartfi.microservice.communication.controller.MessagingController

@Controller public class MessagingController extends es.kukenan.smartfi.amqp.controller.AbstractAmqpController<es.kukenan.smartfi.events.common.AbstractEvent>
This object is the facade to use when using the mechanism (AMPQ) for receiving notifications request and sending the responses/results.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The COT push notification service.
    The notification service that holds the business logic.
    The signature event service.
    The notification created event ervice.
    The push notification service that holds the business logic.
    Scheduled event service ScheduledEventService.
    The sevice that holds the logic of security gateway event handling.
    The user device token service that holds the business logic.
    The sevice that holds the logic of users lifecycle event handling.
    The user reset password event service.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    consume(es.kukenan.smartfi.events.scheduled.task.trigger.ScheduledTaskTriggerEvent scheduledTaskTriggerEvent)
    Consume ScheduledTaskTriggerEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.clients.events.created.UserCreatedEvent usersEvent)
    Consume UserCreatedEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.clients.events.pwdreset.UserPasswordResetEvent userPasswordResetEvent)
    Consume UserPasswordResetEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.clients.events.tokendeleted.UserDeviceTokenDeletedEvent userDeviceTokenDeletedEvent)
    Consume @link UserDeviceTokenDeletedEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.clients.events.updated.UserUpdatedEvent usersEvent)
    Consume UserUpdatedEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.contracts.events.created.NotificationCreatedEvent notificationCreatedEvent)
    Consume NotificationCreatedEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.eventsender.events.CotPushNotificationEvent cotPushNotificationEvent)
    Consume @link CotPushNotificationEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.firm.events.ecommerce.FirmEcommerceEvent signatureEcommerceEvent)
    Consume FirmEcommerceEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.alreadyclient.OnboardingAlreadyClientEvent onboardingEvent)
    Consume OnboardingAlreadyClientEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.amlverification.OnboardingAmlVerificationPendingEvent onboardingEvent)
    Consume OnboardingAmlVerificationPendingEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.completed.OnboardingCompletedEvent onboardingEvent)
    Consume OnboardingCompletedEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.evidencesverification.OnboardingEvidencesVerificationPendingEvent onboardingEvent)
    Consume OnboardingEvidencesVerificationPendingEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.ko.OnboardingKoEvent onboardingEvent)
    Consume OnboardingKoEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.validated.OnboardingValidatedEvent onboardingEvent)
    Consume OnboardingValidatedEvent received from the messaging system.
    void
    consume(es.kukenan.smartfi.microservice.security.gateway.events.otp.OtpGeneratedEvent event)
    Consume OtpGeneratedEvent received from the messaging system.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • eventNotificationService

      @Autowired private OnboardingDomainEventService eventNotificationService
      The notification service that holds the business logic.
    • userLifecycleEventService

      @Autowired private UserLifecycleEventService userLifecycleEventService
      The sevice that holds the logic of users lifecycle event handling.
    • securityGatewayEventService

      @Autowired private SecurityGatewayEventService securityGatewayEventService
      The sevice that holds the logic of security gateway event handling.
    • notificationSettingService

      @Autowired private NotificationSettingService notificationSettingService
      The push notification service that holds the business logic.
    • userDeviceTokenDeletedService

      @Autowired private UserDeviceTokenDeletedService userDeviceTokenDeletedService
      The user device token service that holds the business logic.
    • cotPushNotificationService

      @Autowired private CotPushNotificationService cotPushNotificationService
      The COT push notification service.
    • firmEventService

      @Autowired private FirmEventService firmEventService
      The signature event service.
    • notificationCreatedEventService

      @Autowired private NotificationCreatedEventService notificationCreatedEventService
      The notification created event ervice.
    • userPasswordResetEventService

      @Autowired private UserPasswordResetEventService userPasswordResetEventService
      The user reset password event service.
    • scheduledEventService

      @Autowired private ScheduledEventService scheduledEventService
      Scheduled event service ScheduledEventService.
  • Constructor Details

    • MessagingController

      public MessagingController()
  • Method Details

    • consume

      public void consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.ko.OnboardingKoEvent onboardingEvent)
      Consume OnboardingKoEvent received from the messaging system.
      Parameters:
      onboardingEvent - OnboardingKoEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.validated.OnboardingValidatedEvent onboardingEvent)
      Consume OnboardingValidatedEvent received from the messaging system.
      Parameters:
      onboardingEvent - OnboardingValidatedEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.completed.OnboardingCompletedEvent onboardingEvent)
      Consume OnboardingCompletedEvent received from the messaging system.
      Parameters:
      onboardingEvent - OnboardingCompletedEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.alreadyclient.OnboardingAlreadyClientEvent onboardingEvent)
      Consume OnboardingAlreadyClientEvent received from the messaging system.
      Parameters:
      onboardingEvent - OnboardingAlreadyClientEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.amlverification.OnboardingAmlVerificationPendingEvent onboardingEvent)
      Consume OnboardingAmlVerificationPendingEvent received from the messaging system.
      Parameters:
      onboardingEvent - OnboardingAmlVerificationPendingEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.onboarding.events.statuschanged.evidencesverification.OnboardingEvidencesVerificationPendingEvent onboardingEvent)
      Consume OnboardingEvidencesVerificationPendingEvent received from the messaging system.
      Parameters:
      onboardingEvent - OnboardingEvidencesVerificationPendingEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.clients.events.created.UserCreatedEvent usersEvent)
      Consume UserCreatedEvent received from the messaging system.
      Parameters:
      usersEvent - UserCreatedEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.clients.events.updated.UserUpdatedEvent usersEvent)
      Consume UserUpdatedEvent received from the messaging system.
      Parameters:
      usersEvent - UserUpdatedEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.security.gateway.events.otp.OtpGeneratedEvent event)
      Consume OtpGeneratedEvent received from the messaging system.
      Parameters:
      event - OtpGeneratedEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.clients.events.tokendeleted.UserDeviceTokenDeletedEvent userDeviceTokenDeletedEvent)
      Consume @link UserDeviceTokenDeletedEvent received from the messaging system.
      Parameters:
      userDeviceTokenDeletedEvent - UserDeviceTokenDeletedEvent
    • consume

      public void consume(es.kukenan.smartfi.microservice.eventsender.events.CotPushNotificationEvent cotPushNotificationEvent)
      Consume @link CotPushNotificationEvent received from the messaging system.
      Parameters:
      cotPushNotificationEvent - CotPushNotificationEvent
    • consume

      public void consume(es.kukenan.smartfi.microservice.contracts.events.created.NotificationCreatedEvent notificationCreatedEvent)
      Consume NotificationCreatedEvent received from the messaging system.
      Parameters:
      notificationCreatedEvent - NotificationCreatedEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.clients.events.pwdreset.UserPasswordResetEvent userPasswordResetEvent)
      Consume UserPasswordResetEvent received from the messaging system.
      Parameters:
      userPasswordResetEvent - UserPasswordResetEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.firm.events.ecommerce.FirmEcommerceEvent signatureEcommerceEvent)
      Consume FirmEcommerceEvent received from the messaging system.
      Parameters:
      signatureEcommerceEvent - FirmEcommerceEvent.
    • consume

      public void consume(es.kukenan.smartfi.events.scheduled.task.trigger.ScheduledTaskTriggerEvent scheduledTaskTriggerEvent)
      Consume ScheduledTaskTriggerEvent received from the messaging system.
      Parameters:
      scheduledTaskTriggerEvent - ScheduledTaskTriggerEvent.