Files
java-design-patterns/poison-pill/src/main/java/com/iluwatar/poison/pill/MqSubscribePoint.java

10 lines
179 B
Java
Raw Normal View History

package com.iluwatar.poison.pill;
2015-04-05 18:03:16 +03:00
/**
* Endpoint to retrieve {@link Message} from queue
*/
public interface MqSubscribePoint {
2015-04-05 18:03:16 +03:00
2015-12-27 21:21:57 +02:00
Message take() throws InterruptedException;
2015-04-05 18:03:16 +03:00
}