* Upgrade maven plugins * Upgrade maven plugins Some general code cleanup was necessary due to upgrade of PMD and checkstyle. Also needed to add Junit 4 as a dependency due to Mockito.timout issue found here: https://github.com/mockito/mockito/issues/152
layout, title, folder, permalink, categories, tags
layout | title | folder | permalink | categories | tags | |||
---|---|---|---|---|---|---|---|---|
pattern | Poison Pill | poison-pill | /patterns/poison-pill/ | Other |
|
Intent
Poison Pill is known predefined data item that allows to provide graceful shutdown for separate distributed consumption process.
Applicability
Use the Poison Pill idiom when
- need to send signal from one thread/process to another to terminate