Skip to content

Commit e5a9bf9

Browse files
committed
Map noAck to autoAck during code gen
1 parent 190eb0f commit e5a9bf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/client/RabbitMQ.Client/src/client/impl/IFullModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ void _Private_BasicCancel(string consumerTag,
204204
void _Private_BasicConsume(string queue,
205205
string consumerTag,
206206
bool noLocal,
207-
bool autoAck,
207+
[AmqpFieldMapping(null, "noAck")] bool autoAck,
208208
bool exclusive,
209209
bool nowait,
210210
IDictionary<string, object> arguments);
@@ -216,7 +216,7 @@ void _Private_BasicConsume(string queue,
216216
[AmqpForceOneWay]
217217
[AmqpMethodMapping(null, "basic", "get")]
218218
void _Private_BasicGet(string queue,
219-
bool autoAck);
219+
[AmqpFieldMapping(null, "noAck")] bool autoAck);
220220

221221
///<summary>Used to send a Basic.Publish method. Called by the
222222
///public publish method after potential null-reference issues

0 commit comments

Comments
 (0)