Skip to content
Snippets Groups Projects
Commit 638bb51b authored by Simon Spinner's avatar Simon Spinner
Browse files

Add method to obtain historic notifications of scope.

parent 595a5b46
No related branches found
No related tags found
No related merge requests found
package tools.descartes.prisma.core.scopes;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
......@@ -253,6 +254,10 @@ public abstract class AgentScope extends Scope {
public void sendNotifications(String notificationType, CDOObject object) {
}
public List<? extends CDOObject> getHistoricNotifications(String exchange) {
return Collections.emptyList();
}
protected void sendNotificationMessage(String exchange, String routingKey, ModelNotification notification) {
getMessageBus().publishMessage(exchange, routingKey, "", notification);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment