Skip to content

Commit 39b8e35

Browse files
committed
MC-5588: When using MysqlMQ messages are always set to complete even if exception occurs
1 parent 7d6b0d7 commit 39b8e35

File tree

1 file changed

+0
-1
lines changed
  • app/code/Magento/MysqlMq/Model/Driver

1 file changed

+0
-1
lines changed

app/code/Magento/MysqlMq/Model/Driver/Queue.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ public function subscribe($callback)
111111
while ($envelope = $this->dequeue()) {
112112
try {
113113
call_user_func($callback, $envelope);
114-
$this->acknowledge($envelope);
115114
} catch (\Exception $e) {
116115
$this->reject($envelope);
117116
}

0 commit comments

Comments
 (0)