Class ClearCustomerSegmentEventListener
java.lang.Object
com.broadleafcommerce.auth.user.messaging.ClearCustomerSegmentEventListener
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClearCustomerSegmentEventListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, UserService<User> userService) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
clearCustomerSegments
(org.springframework.messaging.Message<ClearCustomerSegmentRequest> message) protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService
void
listen
(org.springframework.messaging.Message<ClearCustomerSegmentRequest> message)
-
Field Details
-
LAST_PROCESS_SEGMENT_DATE
- See Also:
-
-
Constructor Details
-
ClearCustomerSegmentEventListener
public ClearCustomerSegmentEventListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, UserService<User> userService)
-
-
Method Details
-
listen
@StreamListener("clearCustomerSegmentInput") public void listen(org.springframework.messaging.Message<ClearCustomerSegmentRequest> message) -
clearCustomerSegments
protected void clearCustomerSegments(org.springframework.messaging.Message<ClearCustomerSegmentRequest> message) -
getIdempotentConsumptionService
protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService getIdempotentConsumptionService()
-