File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/main/java/com/rabbitmq/client/amqp Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,15 @@ interface Context {
90
90
* <p>This maps to the AMQP 1.0 <code>
91
91
* modified{delivery-failed = true, undeliverable-here = true}</code> outcome.
92
92
*
93
+ * <p><b>Only quorum queues support the modification of message annotations with the <code>
94
+ * modified</code> outcome.</b>
95
+ *
93
96
* @param annotations message annotations to combine with existing ones
94
97
* @see <a
95
98
* href="https://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#type-modified">AMQP
96
99
* 1.0 <code>modified</code> outcome</a>
100
+ * @see <a href="https://www.rabbitmq.com/docs/amqp#modified-outcome">Modified Outcome Support
101
+ * in RabbitMQ</a>
97
102
*/
98
103
void discard (Map <String , Object > annotations );
99
104
@@ -118,10 +123,15 @@ interface Context {
118
123
* <p>This maps to the AMQP 1.0 <code>
119
124
* modified{delivery-failed = false, undeliverable-here = false}</code> outcome.
120
125
*
126
+ * <p><b>Only quorum queues support the modification of message annotations with the <code>
127
+ * modified</code> outcome.</b>
128
+ *
121
129
* @param annotations message annotations to combine with existing ones
122
130
* @see <a
123
131
* href="https://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#type-modified">AMQP
124
132
* 1.0 <code>modified</code> outcome</a>
133
+ * @see <a href="https://www.rabbitmq.com/docs/amqp#modified-outcome">Modified Outcome Support
134
+ * in RabbitMQ</a>
125
135
*/
126
136
void requeue (Map <String , Object > annotations );
127
137
}
You can’t perform that action at this time.
0 commit comments