Class RequeueCurrentMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.cloud.stream.binder.RequeueCurrentMessageException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionRequeueCurrentMessageException
(String message) RequeueCurrentMessageException
(String message, 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 Details
-
RequeueCurrentMessageException
public RequeueCurrentMessageException() -
RequeueCurrentMessageException
-
RequeueCurrentMessageException
-
RequeueCurrentMessageException
-