Skip to content

Commit 7facca3

Browse files
Merge pull request #305 from jcoeltjen/feature/nolocal-warning
Add warning for not supported no-local flag
2 parents 8327c6a + d780512 commit 7facca3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,8 +1126,8 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
11261126
* acknowledged once delivered; false if the server should expect
11271127
* explicit acknowledgements
11281128
* @param consumerTag a client-generated consumer tag to establish context
1129-
* @param noLocal true if the server should not deliver to this consumer
1130-
* messages published on this channel's connection
1129+
* @param noLocal True if the server should not deliver to this consumer
1130+
* messages published on this channel's connection. Note that the RabbitMQ server does not support this flag.
11311131
* @param exclusive true if this is an exclusive consumer
11321132
* @param callback an interface to the consumer object
11331133
* @param arguments a set of arguments for the consume
@@ -1150,8 +1150,8 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
11501150
* acknowledged once delivered; false if the server should expect
11511151
* explicit acknowledgements
11521152
* @param consumerTag a client-generated consumer tag to establish context
1153-
* @param noLocal true if the server should not deliver to this consumer
1154-
* messages published on this channel's connection
1153+
* @param noLocal True if the server should not deliver to this consumer
1154+
* messages published on this channel's connection. Note that the RabbitMQ server does not support this flag.
11551155
* @param exclusive true if this is an exclusive consumer
11561156
* @param arguments a set of arguments for the consume
11571157
* @param deliverCallback callback when a message is delivered
@@ -1176,8 +1176,8 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
11761176
* acknowledged once delivered; false if the server should expect
11771177
* explicit acknowledgements
11781178
* @param consumerTag a client-generated consumer tag to establish context
1179-
* @param noLocal true if the server should not deliver to this consumer
1180-
* messages published on this channel's connection
1179+
* @param noLocal True if the server should not deliver to this consumer
1180+
* messages published on this channel's connection. Note that the RabbitMQ server does not support this flag.
11811181
* @param exclusive true if this is an exclusive consumer
11821182
* @param arguments a set of arguments for the consume
11831183
* @param deliverCallback callback when a message is delivered
@@ -1202,8 +1202,8 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
12021202
* acknowledged once delivered; false if the server should expect
12031203
* explicit acknowledgements
12041204
* @param consumerTag a client-generated consumer tag to establish context
1205-
* @param noLocal true if the server should not deliver to this consumer
1206-
* messages published on this channel's connection
1205+
* @param noLocal True if the server should not deliver to this consumer
1206+
* messages published on this channel's connection. Note that the RabbitMQ server does not support this flag.
12071207
* @param exclusive true if this is an exclusive consumer
12081208
* @param arguments a set of arguments for the consume
12091209
* @param deliverCallback callback when a message is delivered

0 commit comments

Comments
 (0)