Class DefaultRetryHandler
- java.lang.Object
-
- com.broadleafcommerce.common.messaging.notification.DefaultRetryHandler
-
- All Implemented Interfaces:
RetryHandler
public class DefaultRetryHandler extends Object implements RetryHandler
- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description DefaultRetryHandler(NotificationStateRepository repository, NotificationHandler notificationHandler, DurableNotificationProperties properties, String messageType, org.springframework.scheduling.TaskScheduler scheduler, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Perform the retry processing logicvoidstart()Commence the scheduled processing via a new threadvoidstop()Stop scheduled processing and exit the processing thread
-
-
-
Constructor Detail
-
DefaultRetryHandler
public DefaultRetryHandler(NotificationStateRepository repository, NotificationHandler notificationHandler, DurableNotificationProperties properties, String messageType, org.springframework.scheduling.TaskScheduler scheduler, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-
-
Method Detail
-
start
public void start()
Description copied from interface:RetryHandlerCommence the scheduled processing via a new thread- Specified by:
startin interfaceRetryHandler
-
stop
public void stop()
Description copied from interface:RetryHandlerStop scheduled processing and exit the processing thread- Specified by:
stopin interfaceRetryHandler
-
execute
public void execute()
Description copied from interface:RetryHandlerPerform the retry processing logic- Specified by:
executein interfaceRetryHandler
-
-