Notifications - Custom
You may define your own custom notification sender using the following
bean definition and by implementing NotificationSender
:
1
2
3
4
5
6
7
8
9
@Bean
public NotificationSenderExecutionPlanConfigurer myNotificationSender(
return new NotificationSenderExecutionPlanConfigurer() {
@Override
public NotificationSender configureNotificationSender() {
return new MyNotificationSender();
}
};
}
See this guide to learn more about how to register configurations into the CAS runtime.