We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 205b6ac + c999376 commit ff06c32Copy full SHA for ff06c32
src/FintechFab/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php
@@ -45,9 +45,20 @@ public function getRawBody()
45
*/
46
public function delete()
47
{
48
+ parent::delete();
49
$this->queue->ack($this->envelope->getDeliveryTag());
50
}
51
52
+ /**
53
+ * Get queue name
54
+ *
55
+ * @return string
56
+ */
57
+ public function getQueue()
58
+ {
59
+ return $this->queue->getName();
60
+ }
61
+
62
/**
63
* Release the job back into the queue.
64
*
@@ -100,4 +111,4 @@ public function getJobId()
100
111
return $this->envelope->getMessageId();
101
112
102
113
103
-}
114
+}
0 commit comments