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 theUserAttributesRequestHandler
.
-
-
Constructor Summary
Constructors Constructor Description UserAttributesEventListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, UserAttributesRequestHandler userAttributesRequestHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService
getIdempotentConsumptionService()
protected UserAttributesRequestHandler
getUserAttributesRequestHandler()
void
listen(org.springframework.messaging.Message<UserAttributesRequest> message)
protected void
processMessage(org.springframework.messaging.Message<UserAttributesRequest> message)
-
-
-
Constructor Detail
-
UserAttributesEventListener
public UserAttributesEventListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, UserAttributesRequestHandler userAttributesRequestHandler)
-
-
Method Detail
-
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()
-
-