Skip to content

Commit 7b16a33

Browse files
committed
Deprecate QueueingConsumer
1 parent 302e10d commit 7b16a33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/com/rabbitmq/client/QueueingConsumer.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
* Convenience class: an implementation of {@link Consumer} with
2929
* straightforward blocking semantics.
3030
*
31+
* Deprecated in favor of {@link Consumer} (see below for background).
32+
* Will be removed in next major release.
33+
*
3134
* The general pattern for using QueueingConsumer is as follows:
3235
*
3336
* <pre>
@@ -83,6 +86,8 @@
8386
* As such, it is now safe to implement <code>Consumer</code> directly or
8487
* to extend <code>DefaultConsumer</code> and <code>QueueingConsumer</code>
8588
* is a lot less relevant.</p>
89+
*
90+
* @deprecated
8691
*/
8792
public class QueueingConsumer extends DefaultConsumer {
8893
private final BlockingQueue<Delivery> _queue;

0 commit comments

Comments
 (0)