public ProcessComponent createNotificationProcess(final BaseNotificationMessageFactory messageFactory,
final Set<String> usersToNotify, NetworkManager networkManager) throws IllegalArgumentException,
NoPeerConnectionException, NoSessionException {
// create a context here to provide the necessary data
IConsumeNotificationFactory context = new IConsumeNotificationFactory() {
@Override
public Set<String> consumeUsersToNotify() {
return usersToNotify;
}