@Override
public Dispatch create(Notification notification, IPreferences prefs, IChannelPreferences cPrefs)
throws RenderException {
Params params = new Params();
params.setAll(prefs.getParams());
params.setAll(cPrefs.getParams());
params.setAll(notification.getParams());
params.set(INotifyService.NOTIFICATION, notification);
params.set(INotifyService.PREFERENCES, prefs);
params.set(INotifyService.CHANNEL_PREFERENCES, cPrefs);
if (notification.getConfirmation() != null) {
if (_notifyUrlFactory != null) {
params.set(INotifyService.CONFIRMATION_URL,
_notifyUrlFactory.toConfirmPath(notification.getConfirmation()));
} else {
log.warn("can't set confirmation URL without NotifyFilter");
}
}