Interface RecoveredQueueNameSupplier

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface RecoveredQueueNameSupplier
    Functional callback interface that can be used to rename a queue during topology recovery. Can use along with QueueRecoveryListener to know when such a queue has been recovered successfully.
    See Also:
    QueueRecoveryListener
    • Method Detail

      • getNameToUseForRecovery

        String getNameToUseForRecovery​(RecordedQueue recordedQueue)
        Get the queue name to use when recovering this RecordedQueue entity
        Parameters:
        recordedQueue - the queue to be recovered
        Returns:
        new queue name