Class UserAttributesEventListener

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

@DataRouteByKey("auth") public class UserAttributesEventListener extends Object
Listens to user claims request events and delegates them to the UserAttributesRequestHandler.
  • Constructor Details

    • UserAttributesEventListener

      public UserAttributesEventListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, UserAttributesRequestHandler userAttributesRequestHandler)
  • Method Details

    • listen

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

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

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

      protected UserAttributesRequestHandler getUserAttributesRequestHandler()