mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-21 12:25:45 +00:00
added Poison Pill idiom
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package com.iluwatar;
|
||||
|
||||
/**
|
||||
* Endpoint to publish {@link Message} to queue
|
||||
*/
|
||||
public interface MQPublishPoint {
|
||||
|
||||
public void put(Message msg) throws InterruptedException;
|
||||
}
|
||||
Reference in New Issue
Block a user