Interface PubSubMessageHandler.FailureCallback

Enclosing class:
PubSubMessageHandler
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 static interface PubSubMessageHandler.FailureCallback
Implement this callback to post-process a message that failed to publish to Cloud Pub/Sub.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFailure(Throwable cause, org.springframework.messaging.Message<?> message)
     
  • Method Details

    • onFailure

      void onFailure(Throwable cause, org.springframework.messaging.Message<?> message)