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:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the queue name to use when recovering this RecordedQueue entity
  • Method Details

    • 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