Basically wait and notify should share a common notification configuration which is just a schema definition for data that will be passed from notifier to waiter. Specific instances of waiter & notifier are corrrelated via a key.

For example: when one process is in wait state for key 'Order-1', it waits till another process issues a notification with the same key value.

 


Comments




Leave a Reply