Interface DestinationTopicResolver
-
- All Known Implementing Classes:
DestinationTopicContainer
public interface DestinationTopicResolverContains methods for resolving the destination to which a message that failed to be processed should be forwarded to, based on the current topic, the attempt and the thrown exception.- Since:
- 2.7
- Author:
- Tomaz Fernandes
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDestinationTopicResolver.DestinationsHolder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDestinations(java.util.Map<java.lang.String,DestinationTopicResolver.DestinationsHolder> sourceDestinationMapToAdd)DestinationTopicgetCurrentTopic(java.lang.String topic)static DestinationTopicResolver.DestinationsHolderholderFor(DestinationTopic sourceDestination, DestinationTopic nextDestination)longresolveDestinationNextExecutionTimestamp(java.lang.String topic, java.lang.Integer attempt, java.lang.Exception e, long originalTimestamp)DestinationTopicresolveNextDestination(java.lang.String topic, java.lang.Integer attempt, java.lang.Exception e, long originalTimestamp)
-
-
-
Method Detail
-
resolveNextDestination
DestinationTopic resolveNextDestination(java.lang.String topic, java.lang.Integer attempt, java.lang.Exception e, long originalTimestamp)
-
resolveDestinationNextExecutionTimestamp
long resolveDestinationNextExecutionTimestamp(java.lang.String topic, java.lang.Integer attempt, java.lang.Exception e, long originalTimestamp)
-
getCurrentTopic
DestinationTopic getCurrentTopic(java.lang.String topic)
-
addDestinations
void addDestinations(java.util.Map<java.lang.String,DestinationTopicResolver.DestinationsHolder> sourceDestinationMapToAdd)
-
holderFor
static DestinationTopicResolver.DestinationsHolder holderFor(DestinationTopic sourceDestination, DestinationTopic nextDestination)
-
-