The AlertChannel
is a class that defines a medium that an alert notification can be sent on. For example, ATG Portal provides the EmailAlertChannel
, which provides alert notification via the DPS Targeted Email system.
Each new alert channel is configured with its own unique properties in a property file whose class definition is atg.portal.alert.AlertChannel
. The new file must be placed somewhere in the CONFIGPATH.
Property Name | Description | Example Value |
---|---|---|
| A name to display in the interface. |
|
| A description to display in the interface. |
|
| The Nucleus address of the Transaction Manager component. |
|
| All alerts must use the |
|
| The appropriate implementation of the |
|
If the new alert channel needs to extend these properties, then you will need to extend the AlertChannel
class. Once the AlertChannel
class has been extended, add the new properties to the alert channel component’s properties file.
The sample property file below shows how the EmailAlertChannel
component is configured.
$class=atg.portal.alert.AlertChannel $scope=global channelDisplayName=EmailAlertChannel channelDescription=Channel to send alerts via the DPS Targeted Email transactionManager=/atg/dynamo/transaction/TransactionManager alertRepositoryManager=/atg/portal/alert/AlertRepositoryManager alertHandler=/atg/portal/alert/EmailAlertHandler