Class AccountMemberRoleChangeEventListener
java.lang.Object
com.broadleafcommerce.auth.user.messaging.AccountMemberRoleChangeEventListener
Listens to
AccountMemberRoleChangeRequest
messages and delegates them to the
AccountMemberRoleChangeRequestHandler
.- Author:
- Cade Rea (cade-rea)
-
Constructor Summary
ConstructorDescriptionAccountMemberRoleChangeEventListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, AccountMemberRoleChangeRequestHandler accountMemberRoleChangeRequestHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected AccountMemberRoleChangeRequestHandler
protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService
void
listen
(org.springframework.messaging.Message<AccountMemberRoleChangeRequest> message) protected void
processMessage
(org.springframework.messaging.Message<AccountMemberRoleChangeRequest> message)
-
Constructor Details
-
AccountMemberRoleChangeEventListener
public AccountMemberRoleChangeEventListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, AccountMemberRoleChangeRequestHandler accountMemberRoleChangeRequestHandler)
-
-
Method Details
-
listen
@StreamListener("accountMemberRoleChangeInput") public void listen(org.springframework.messaging.Message<AccountMemberRoleChangeRequest> message) -
processMessage
protected void processMessage(org.springframework.messaging.Message<AccountMemberRoleChangeRequest> message) -
getIdempotentConsumptionService
protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService getIdempotentConsumptionService() -
getAccountMemberRoleChangeRequestHandler
-