Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

E-mail broker can be used to publish e-mail notification via a configured e-mail account. This uses Axis2 Mail Transport when sending mails from CEP.

To configure the e-mail account edit the <CEP_HOME>/repository/conf/axis2/axis2_client.xml by updating email-address, user-name and password and other relevant property values from the MailTransportSender.

Code Block
languagehtml/xml
<axisconfig name="AxisJava2.0">
   ... 
   <transportSender name="mailto"
                     class="org.apache.axis2.transport.mail.MailTransportSender">
        <parameter name="mail.smtp.from">email-address</parameter>
        <parameter name="mail.smtp.user">user-name</parameter>
        <parameter name="mail.smtp.password">password</parameter>
        <parameter name="mail.smtp.host">smtp.gmail.com</parameter>

        <parameter name="mail.smtp.port">587</parameter>
        <parameter name="mail.smtp.starttls.enable">true</parameter>
        <parameter name="mail.smtp.auth">true</parameter>
    </transportSender>
    ...
    ...
</axisconfig>

Configuring through the User Interface

...

For example, enter the following details to create a WSE-Event mail broker.

No Format
Broker Name	: localBrokeremailBroker
Broker Type	: locale-mail

3. Click the "Add Broker" button once done. The "Available Brokers" page will open, which allows you to view the broker configurations by clicking on the broker name and delete brokers by clicking on "Delete" button.

...