You are looking at documentation for an older release. Not what you want? See the current release documentation.
The feature related to configuration in this section is the Email/On-site notification. Here are some aspects of the feature:
Users can receive daily/weekly emails that sum up the activities they are interested in.
This is performed in the background by jobs called NotificationDailyJob
and NotificationWeeklyJob
.
In the Web UI, the notifications pop up immediately when an activity happens. And there is a page called "View All" where users can see all the recent notifications.
In the background, a job called WebNotificationJob
takes care to remove notifications that are older than a configurable live time.
Here under is the list of related properties that you can configure via exo.properties file.
exo.notification.NotificationDailyJob.expression
This is the Cron expression to schedule the daily emails. By default it is 0 0 23 ? * * (11:00pm every day).
Learn to write Cron expression string here.
exo.notification.NotificationWeeklyJob.expression
This is the Cron expression to schedule the weekly emails. By default it is 0 0 11 ? * SUN (11:00am every Sunday).
exo.notification.service.QueueMessage.period
When they run, the jobs divide emails into batches and send them sequentially for preventing overloads. This configuration is the delay time (in seconds) between two batches.
The default is 60 (one minute).
exo.notification.service.QueueMessage.numberOfMailPerBatch
This is the (maximum) number of emails of each batch. The default is 30.
exo.notification.portalname
This is the "from" field in the emails. The default is eXo.
exo.notification.maxitems
The maximum number of notifications displayed in the popover list. The default is 8.
exo.notification.viewall
The number of days a notification takes place in the "View All" page. When it reaches its live time, it will be removed by the WebNotificationJob. The default is 30 (days).
exo.notification.WebNotificationCleanJob.expression
The Cron expression to schedule the WebNotificationJob. By default it runs at 11:00pm every day (0 0 23 ? * *).
Notification channels configuration
In eXo Platform, two notification channels are available by default:
Web channel: notifications are sent on the web browser.
Email channel: notifications are sent via the email.
It is possible to define which channels to activate through the parameter exo.notification.channels
in exo.properties file.
It is a comma separated property which could take these values:
MAIL_CHANNEL
WEB_CHANNEL
By default (when the property is not customized or empty), all the available channels are activated. When a notification channel is added through an extension, it is automatically activated.
See also
Notification settings for global settings.
Notification management for personal settings.