Class AmqpController
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
FieldsModifier and TypeFieldDescriptionprivate OnboardingServiceTHe service that will handle onboarding events. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsume(es.kukenan.smartfi.microservice.onboarding.events.modified.initiated.OnboardingInitiatedEvent event) Method that is invoked when aOnboardingInitiatedEventis consumed from the service queue.voidconsume(es.kukenan.smartfi.microservice.onboarding.events.modified.updated.OnboardingUpdatedEvent event) Method that is invoked when aOnboardingUpdatedEventis consumed from the service queue.
-
Field Details
-
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 aOnboardingInitiatedEventis 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 aOnboardingUpdatedEventis consumed from the service queue.- Parameters:
event-OnboardingUpdatedEvent.
-