You can subscribe to events as a system administrator or as a API publisher/subscriber. Click on the relevant tab to view the required procedure.
Prerequisites
Before you subscribe for alerts, you need to edit the email address, username, password and other relevant properties in the <APIM-ANALYTICS_HOME>/repository/conf/output-event-adapters.xml
file, to point the mail transport sender that is enabled by default in the product, to a valid SMTP configuration as shown in the example below.
<adapterConfig type="email"> <property key="mail.smtp.from">email-address</property> <property key="mail.smtp.user">user-name</property> <property key="mail.smtp.password">password</property> <property key="mail.smtp.host">smtp.gmail.com</property> <property key="mail.smtp.port">587</property> <property key="mail.smtp.starttls.enable">true</property> <property key="mail.smtp.auth">true</property> <!-- Thread Pool Related Properties --> <property key="maxThread">100</property> <property key="keepAliveTimeInMillis">20000</property> <property key="jobQueueSize">10000</property> </adapterConfig>