Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

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>

In gmail account security settings you may have to enable the Allow less secure apps option in order to connect the account to WSO2 products.

Subscribing for alerts

  • No labels