Class AccountUpdateEventListener

java.lang.Object
com.broadleafcommerce.auth.user.messaging.AccountUpdateEventListener

@DataRouteByKey("auth") public class AccountUpdateEventListener extends Object
Listens to CustomerAccountUpdateRequest messages and delegates them to the AccountUpdateRequestHandler.
Author:
Cade Rea (cade-rea)
  • Constructor Details

    • AccountUpdateEventListener

      public AccountUpdateEventListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, AccountUpdateRequestHandler accountUpdateRequestHandler)
  • Method Details

    • listen

      @StreamListener("accountUpdateInput") public void listen(org.springframework.messaging.Message<CustomerAccountUpdateRequest> message)
    • processMessage

      protected void processMessage(org.springframework.messaging.Message<CustomerAccountUpdateRequest> message)
    • getIdempotentConsumptionService

      protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService getIdempotentConsumptionService()
    • getAccountUpdateRequestHandler

      protected AccountUpdateRequestHandler getAccountUpdateRequestHandler()