Class AccountUpdateEventListener
java.lang.Object
com.broadleafcommerce.auth.user.messaging.AccountUpdateEventListener
Listens to
CustomerAccountUpdateRequest
messages and delegates them to the
AccountUpdateRequestHandler
.- Author:
- Cade Rea (cade-rea)
-
Constructor Summary
ConstructorDescriptionAccountUpdateEventListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, AccountUpdateRequestHandler accountUpdateRequestHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected AccountUpdateRequestHandler
protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService
void
listen
(org.springframework.messaging.Message<CustomerAccountUpdateRequest> message) protected void
processMessage
(org.springframework.messaging.Message<CustomerAccountUpdateRequest> message)
-
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
-