-
MethodDescriptiontoString() no longer deserializes the body.in favor of
Queue.setLeaderLocator(String)
.in favor ofQueueBuilder.leaderLocator(LeaderLocator)
.since 2.3 in favor ofin favor ofCorrelationData.getReturned()
.in favor ofCorrelationData.setReturned(ReturnedMessage)
.- will be removed withRabbitTemplate.ReturnCallback
.in favor ofRabbitTemplate.ReturnsCallback.returnedMessage(ReturnedMessage)
which is easier to use with lambdas.org.springframework.amqp.rabbit.core.RabbitTemplate.setReturnCallback(RabbitTemplate.ReturnCallback) in favor ofRabbitTemplate.setReturnsCallback(ReturnsCallback)
.
-
ConstructorDescription- no longer used.in favor of
LambdaAnswer(boolean, ValueToReturn, Object)
.in favor ofLatchCountDownAndCallRealMethodAnswer(int, Object)
.
RabbitTemplate.ReturnCallback.returnedMessage(ReturnedMessage)
which is easier to use with lambdas.