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 aPollableMessageSourcethrow 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequeueCurrentMessageException()RequeueCurrentMessageException(String message)RequeueCurrentMessageException(String message, Throwable cause)RequeueCurrentMessageException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RequeueCurrentMessageException
public RequeueCurrentMessageException()
-
RequeueCurrentMessageException
public RequeueCurrentMessageException(String message, Throwable cause)
-
RequeueCurrentMessageException
public RequeueCurrentMessageException(String message)
-
RequeueCurrentMessageException
public RequeueCurrentMessageException(Throwable cause)
-
-