@Override public String publishNotification(String notificationManagerUri,String referenceId,String content,String contentType) { String ret = api.publishNotification(callingCtx, notificationManagerUri, referenceId, content, contentType); return ret; }
public void publishMessage(NotificationMessage msg) { String content = JacksonUtil.jsonFromObject(msg); String reference = msg.getMessageType(); notificationApi.publishNotification(context, notificationName, reference, content, NotificationType.STRING.toString()); }