@@ -0,0 +1,1621 @@
+package org.notificationengine.web.controller;%0A%0Aimport com.google.gson.Gson;%0Aimport org.apache.log4j.Logger;%0Aimport org.notificationengine.domain.DecoratedNotification;%0Aimport org.notificationengine.domain.Topic;%0Aimport org.notificationengine.persistance.Persister;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.stereotype.Controller;%0Aimport org.springframework.web.bind.annotation.*;%0A%0Aimport java.util.Collection;%0A%0A@Controller%0Apublic class DecoratedNotificationController %7B%0A%0A    private static Logger LOGGER = Logger.getLogger(DecoratedNotificationController.class);%0A%0A    @Autowired%0A    private Persister persister;%0A%0A    public DecoratedNotificationController() %7B%0A%0A        LOGGER.debug(%22DecoratedNotificationController instantiated and listening%22);%0A    %7D%0A%0A%0A    @RequestMapping(value = %22/notSentDecoratedNotifications.do%22, method = RequestMethod.GET, params = %7B%22topic%22%7D)%0A    @ResponseBody%0A    public String getNotSentDecoratedNotificationsForTopic(@RequestParam(value=%22topic%22) String topicName) %7B%0A%0A        LOGGER.debug(%22getNotSentDecoratedNotificationsForTopic in DecoratedNotificationController%22);%0A%0A        Topic topic = new Topic(topicName);%0A%0A        Collection%3CDecoratedNotification%3E decoratedNotifications = this.persister.retrieveNotSentDecoratedNotificationsForTopic(topic);%0A%0A        Gson gson = new Gson();%0A%0A        String result = gson.toJson(decoratedNotifications);%0A%0A        return result;%0A%0A    %7D%0A%0A    public Persister getPersister() %7B%0A        return persister;%0A    %7D%0A%0A    public void setPersister(Persister persister) %7B%0A        this.persister = persister;%0A    %7D%0A%0A%0A%7D%0A

Add get notSentDecoratedNotifications