notify listener: document the metadata callback parameter
Add some details about what the metadata parameter contains. Change-Id: I191c1c480c679534c1dede9aa85c51615faf0800
This commit is contained in:
parent
ed2a1545c0
commit
8060878b5b
@ -71,7 +71,9 @@ in one of the targets and if an endpoint implements the method named like the
|
|||||||
priority
|
priority
|
||||||
|
|
||||||
Parameters to endpoint methods are the request context supplied by the client,
|
Parameters to endpoint methods are the request context supplied by the client,
|
||||||
the publisher_id of the notification message, the event_type, the payload.
|
the publisher_id of the notification message, the event_type, the payload and
|
||||||
|
metadata. The metadata parameter is a mapping containing a unique message_id
|
||||||
|
and a timestamp.
|
||||||
|
|
||||||
An endpoint method can return explicitly messaging.NotificationResult.HANDLED
|
An endpoint method can return explicitly messaging.NotificationResult.HANDLED
|
||||||
to acknowledge a message or messaging.NotificationResult.REQUEUE to requeue the
|
to acknowledge a message or messaging.NotificationResult.REQUEUE to requeue the
|
||||||
|
Loading…
Reference in New Issue
Block a user