driplineorg / dripline-cpp

C++ Implementation of the Dripline framework
http://driplineorg.github.io
Apache License 2.0
1 stars 0 forks source link

add ability to consume alert messages in dl3 #13

Closed laroque closed 4 years ago

laroque commented 5 years ago

On first pass we will only allow this in the service (not in a child endpoint, because it could be subtle to decide which child(ren) should process a given message). In sort_message we should evaluate the message objects type in an outer conditional block, requests to be handled as they are, alerts per this approach.

nsoblath commented 5 years ago

The service class should have a set of keys (user-supplied) that it binds to the alerts exchange.

laroque commented 4 years ago

bind_keys is now virtual, as is on_alert_message, details of consuming are implemented in dripline-python