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 void
execute()
Perform the retry processing logicvoid
start()
Commence the scheduled processing via a new threadvoid
stop()
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:RetryHandler
Commence the scheduled processing via a new thread- Specified by:
start
in interfaceRetryHandler
-
stop
public void stop()
Description copied from interface:RetryHandler
Stop scheduled processing and exit the processing thread- Specified by:
stop
in interfaceRetryHandler
-
execute
public void execute()
Description copied from interface:RetryHandler
Perform the retry processing logic- Specified by:
execute
in interfaceRetryHandler
-
-