Slide 23
Slide 23 text
Mercure: Publishing mechanism
API Call
Resource with ApiResource
attribute and mercure option
PublishMercureUpdatesListener
Flush PostFlush
- Verify options
- Set
‘enable_async_upd
ate: true’ if not
specified
-Build Update Class with iri,
data, private, id, type, retry
options as params
Dispatch it through the bus
with Messenger or directly
publish to the hub
Depending of
‘enable_async
_update
Via UpdateHandler
synchronously or
asynchronously
Post HTTP request +
JWT according to the
claims
Hub
Publish to
subscribers