Created
December 11, 2013 21:23
-
-
Save billy-bacon/7918699 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component("pushNotificationListProcessor") | |
public class PushNotificationListProcessor { | |
private static final Logger log = LoggerFactory.getLogger(PushNotificationMessageProcessor.class); | |
private final PatronDeviceHelper patronDeviceHelper; | |
@Autowired | |
public PushNotificationListProcessor(final PatronDeviceHelper patronDeviceHelper) { | |
this.patronDeviceHelper = patronDeviceHelper; | |
} | |
public List<PatronDevice> process(@Body String message) { | |
log.info("message received {}", message); | |
return patronDeviceHelper.getAllPatronDevices(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment