java.lang.Object
es.kukenan.smartfi.amqp.controller.AbstractAmqpController<es.kukenan.smartfi.microservice.backoffice.events.AbstractBackofficeMonitorEvent>
es.kukenan.smartfi.microservice.smartficore.controller.AmqpController

@RestController public class AmqpController extends es.kukenan.smartfi.amqp.controller.AbstractAmqpController<es.kukenan.smartfi.microservice.backoffice.events.AbstractBackofficeMonitorEvent>
AmqpController controller.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    THe service that will handle onboarding events.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    consume(es.kukenan.smartfi.microservice.onboarding.events.modified.initiated.OnboardingInitiatedEvent event)
    Method that is invoked when a OnboardingInitiatedEvent is consumed from the service queue.
    void
    consume(es.kukenan.smartfi.microservice.onboarding.events.modified.updated.OnboardingUpdatedEvent event)
    Method that is invoked when a OnboardingUpdatedEvent is consumed from the service queue.

    Methods inherited from class java.lang.Object

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

    • onboardingService

      @Autowired private OnboardingService onboardingService
      THe service that will handle onboarding events.
  • Constructor Details

    • AmqpController

      public AmqpController()
  • Method Details

    • consume

      public void consume(es.kukenan.smartfi.microservice.onboarding.events.modified.initiated.OnboardingInitiatedEvent event)
      Method that is invoked when a OnboardingInitiatedEvent is consumed from the service queue.
      Parameters:
      event - OnboardingInitiatedEvent.
    • consume

      public void consume(es.kukenan.smartfi.microservice.onboarding.events.modified.updated.OnboardingUpdatedEvent event)
      Method that is invoked when a OnboardingUpdatedEvent is consumed from the service queue.
      Parameters:
      event - OnboardingUpdatedEvent.