Package org.kie.server.jms
Class RetryTrackerSingleton
- java.lang.Object
-
- org.kie.server.jms.RetryTrackerSingleton
-
public class RetryTrackerSingleton extends Object
This class helps make sure that messages which fail are not endlessly retried.
-
-
Constructor Summary
Constructors Constructor Description RetryTrackerSingleton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearRetries(String msgId)intgetMaximumLimitRetries()intincrementRetries(String msgId)voidinit()booleanmaxRetriesReached(String msgId)
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getMaximumLimitRetries
public int getMaximumLimitRetries()
-
maxRetriesReached
public boolean maxRetriesReached(String msgId)
-
incrementRetries
public int incrementRetries(String msgId)
-
clearRetries
public void clearRetries(String msgId)
-
-