Task #411
closedAllow using multiple sender implementations for one notification channel
100%
Description
When multiple implementations of NotificationSender for particular notification type are present in ApplicationContext, notification is sent using all of them. The goal of this ticket is to implement mechanism for choosing which sender will be used for sending particular notification with given type.
Must haves:- Admin can select which sender is used for particular notification type
Admin can see, which sender was used to send each notification (even when the sender is no longer in application context)Admin can globally set what to do, when sender is no longer present in application context (use default, log error)default sender will be used as default
Admin can specify multiple senders for one notification type and relationships among them (use all, use first successfull)
Updated by Radek Tomiška over 7 years ago
- Category set to Notification
- Assignee set to Radek Tomiška
- Target version set to Diamond (7.4.0)
Updated by Radek Tomiška almost 7 years ago
- Status changed from New to In Progress
- Target version set to Garnet (7.8.0)
Updated by Radek Tomiška almost 7 years ago
- % Done changed from 0 to 80
It's implemented the same way as filter builders, Configurable interface was added for notification senders.
Registered notification sender implementation with less order is used as default ( by notification type).
Notification sender implementation can be configured by property (see DefaultIdmNotificationConfigurationServiceIntegrationTest):
'idm.sec.<module_id>.notification-sender.<notification_type>.impl=springBeanName'
e.g.:
'idm.sec.core.notification-sender.email.impl=emailNotificationSender'
Documentation remains.
Updated by Radek Tomiška almost 7 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Ondřej Kopr
- % Done changed from 80 to 90
I moved documentation from devel and added new section:
https://wiki.czechidm.com/devel/documentation/notifications/notification_manager#configuration
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/f5d0d546f6bd5ca59faaeea8bd354e72e4ccd2d0
Could you do a feedback pls?
Updated by Ondřej Kopr almost 7 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Radek Tomiška
- % Done changed from 90 to 100
I made review, everything works nice and clean. Thanks for documentation!
Updated by Radek Tomiška over 6 years ago
- Status changed from Resolved to Closed