Class UserUpdateListenerCustomer
- java.lang.Object
 - 
- com.broadleafcommerce.customer.messaging.UserUpdateListenerCustomer
 
 
- 
@DataRouteByKey("customer") public class UserUpdateListenerCustomer extends Object 
- 
- 
Constructor Summary
Constructors Constructor Description UserUpdateListenerCustomer(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, CustomerService<Customer> customerService) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.broadleafcommerce.data.tracking.core.context.ContextInfobuildContextInfo(User user)protected CustomerService<Customer>getCustomerService()protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionServicegetIdempotentConsumptionService()voidlisten(org.springframework.messaging.Message<User> userMessage)protected voidprocessMessage(org.springframework.messaging.Message<User> userMessage) 
 - 
 
- 
- 
Constructor Detail
- 
UserUpdateListenerCustomer
public UserUpdateListenerCustomer(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, CustomerService<Customer> customerService) 
 - 
 
- 
Method Detail
- 
listen
@StreamListener("userUpdateCustomerInput") public void listen(org.springframework.messaging.Message<User> userMessage) 
- 
processMessage
protected void processMessage(org.springframework.messaging.Message<User> userMessage)
 
- 
buildContextInfo
protected com.broadleafcommerce.data.tracking.core.context.ContextInfo buildContextInfo(User user)
 
- 
getIdempotentConsumptionService
protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService getIdempotentConsumptionService()
 
- 
getCustomerService
protected CustomerService<Customer> getCustomerService()
 
 - 
 
 -