Interface RabbitTemplate.RecoveryCallback
- Enclosing class:
RabbitTemplate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback to recover a request that has exhausted its retry policy.
- Since:
- 1.0
- Author:
- Mark Pollack, Mark Fisher, Dave Syer, Gary Russell, Artem Bilan, Ernest Sadykov, Mark Norkin, Mohammad Hewedy, Alexey Platonov, Leonardo Ferreira, Ngoc Nhan, Jeongjun Min, Stephane Nicoll
-
Method Summary
-
Method Details
-
recover
Recover the exception that was thrown during the last attempt.- Parameters:
lastException- the exception from the last attempt- Returns:
- Object that can be used to replace the result
RabbitTemplate.execute(ChannelCallback)
-