Server: manage subscription notification queues by MonitoredItem
Initial version of subscription service manages notification queue(s) by Subscription instead of by MonitoredItem.
This shall be changed for several reasons:
- It does not allow to manage notification queue size limitation by MonitoredItem easily/efficiently
- In case of important number of items in subscription notification queue and in DeleteMonitoredItem request, treatment might be very long
The following tasks shall be achieved:
- Create notification queue by MonitoredItem and iterate on queues when building subscription notification message
- Manage the MI notification queue size limitation parameters / policy depending on CreateMI parameters