RabbitMq version (#5.20.0)- DefaultConsumer nextDelivery() method is not available #1212
-
Hello, The nextDelivery() method is not available, and it seems like deprecated in the latest version(#5.20.0) of rabbitmq. Please suggest me how to get the delivery using DefaultConsumer. Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
michaelklishin
Jan 9, 2024
Replies: 1 comment 2 replies
-
As demonstrated in the tutorials and the Java client API doc guide. DO NOT use |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
michaelklishin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As demonstrated in the tutorials and the Java client API doc guide.
DO NOT use
QueueingConsumer
(aConsumer
implementation that does providenextDelivery
), it is deprecated and will be removed in a later version. In fact, I am very surprised that we haven't removed it yet.