final List<NotificationListenerAdapter> listNotifi =
Notificator.createNotificationListener(paths, "stream-name", NotificationOutputType.JSON.toString());
final NotificationListenerAdapter notifi = listNotifi.get(0);
final List<NotificationListenerAdapter> listNotifi =
Notificator.createNotificationListener(paths, "stream-name", NotificationOutputType.JSON.toString());
final NotificationListenerAdapter notifi = listNotifi.get(0);
- notifi.setNotification(notificationData);
- notifi.setSchemaContext(this.schmeaCtx);
- final String result = notifi.prepareJson();
+ final String result = notifi.prepareJson(schmeaCtx, notificationData);