Class UserAttributesEventListener
java.lang.Object
com.broadleafcommerce.auth.user.messaging.UserAttributesEventListener
Listens to user claims request events and delegates them to the
UserAttributesRequestHandler
.-
Constructor Summary
ConstructorDescriptionUserAttributesEventListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, UserAttributesRequestHandler userAttributesRequestHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService
protected UserAttributesRequestHandler
void
listen
(org.springframework.messaging.Message<UserAttributesRequest> message) protected void
processMessage
(org.springframework.messaging.Message<UserAttributesRequest> message)
-
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
-
getIdempotentConsumptionService
protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService getIdempotentConsumptionService() -
getUserAttributesRequestHandler
-