Class RequeueCurrentMessageException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.cloud.stream.binder.RequeueCurrentMessageException
All Implemented Interfaces:
Serializable

public class RequeueCurrentMessageException extends RuntimeException
When using a PollableMessageSource throw this exception to cause the current message to be requeued in the broker so that it will be redelivered on the next poll.
Since:
2.1
Author:
Gary Russell
See Also:
  • Constructor Details

    • RequeueCurrentMessageException

      public RequeueCurrentMessageException()
    • RequeueCurrentMessageException

      public RequeueCurrentMessageException(String message, Throwable cause)
    • RequeueCurrentMessageException

      public RequeueCurrentMessageException(String message)
    • RequeueCurrentMessageException

      public RequeueCurrentMessageException(Throwable cause)