[Koha-bugs] [Bug 32573] background_jobs_worker.pl should ACK a message before it forks and runs the job

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 16 00:32:19 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32573

--- Comment #22 from David Cook <dcook at prosentient.com.au> ---
(In reply to Kyle M Hall from comment #20)
> Nick asked me to post this
> 
> https://stomp.github.io/stomp-specification-1.2.html#ACK
> ---
> ACK is used to acknowledge consumption of a message from a subscription
> using client or client-individual acknowledgment. Any messages received from
> such a subscription will not be considered to have been consumed until the
> message has been acknowledged via an ACK.
> ---
> 
> The stomp protocol doesn't specify that an ACK is meant to indicate the
> completion of whatever activity a message would require. An ACK is only
> meant to verify that the client received the message.

The spec doesn't seem to strictly define "consume". I imagine that they've left
it intentionally ambiguous so that they don't prescribe the behaviour of
message consumers.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list