manually re-enqueue failed notices
This commit is contained in:
parent
8bdb7dc93c
commit
8aef0e4271
@ -108,7 +108,10 @@ class StompQueueManager
|
|||||||
$this->con->ack($frame);
|
$this->con->ack($frame);
|
||||||
} else {
|
} else {
|
||||||
$this->_log(LOG_WARNING, 'Failed handling notice '. $notice->id .' posted at ' . $frame->headers['created'] . ' in queue '. $queue);
|
$this->_log(LOG_WARNING, 'Failed handling notice '. $notice->id .' posted at ' . $frame->headers['created'] . ' in queue '. $queue);
|
||||||
// Don't ack; it'll get re-sent
|
// FIXME we probably shouldn't have to do
|
||||||
|
// this kind of queue management ourselves
|
||||||
|
$this->con->ack($frame);
|
||||||
|
$this->enqueue($notice, $queue);
|
||||||
}
|
}
|
||||||
unset($notice);
|
unset($notice);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user