Product: OpenFusion Notification Service
Version: 2.1 and above
Description:
Which events are discarded when the DiscardPolicy QoS is used?
Solution:
Events will be discarded according to the DiscardPolicy QoS in two situations:
1. The Admin property MaxQueueLength is set to a non-zero value and the Admin property RejectNewEvents is set to false. When the event channel holds the number of events specified by the MaxQueueLength then it will discard events until the number of events in the event channel decreases to a value that is less than the MaxQueueLength.
2. The QoS property MaxEventsPerConsumer is set and the value is reached. Events are discarded from the proxy queue according to the DiscardPolicy. The DiscardPolicy enables you to specify in which order the channel should begin to discard events once it becomes full. The following are the policies that can be set:
AnyOrder - Any event may be discarded when the queue becomes full.
FifoOrder - The first event received will be the first discarded.
PriorityOrder - Events should be discarded in priority order, such that the lower priority events will be discarded before the higher priority events. Note that priority is a short with values between -32,767 and 32,767. The higher the number the higher the priority.
DeadlineOrder - Events should be buffered in the order of shortest expiry deadline first, such that events that are destined to timeout soonest should be delivered first.
#notificationservice
#KnowledgeDocs
#OpenFusion




