Interface DestinationTopicResolver

    • Method Detail

      • resolveDestinationTopic

        DestinationTopic resolveDestinationTopic​(java.lang.String topic,
                                                 java.lang.Integer attempt,
                                                 java.lang.Exception e,
                                                 long originalTimestamp)
        Resolves the destination topic for the failed message.
        Parameters:
        topic - the current topic for the message.
        attempt - the number of processing attempts already made for that message.
        e - the exception the message processing has thrown
        originalTimestamp - the time when the first attempt to process the message threw an exception.
        Returns:
        the DestinationTopic for the given parameters.