Versions Compared

Key

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

Configuring E-mail Broker via GUI and XML configuration file

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.

Configuring through the User Interface

1. Log on to the product's management console and select "Broker -> Add" in the "Configuration" menu.

Image Added

2. The "Create a New Broker" window opens using which new broker configurations can be added.

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

No Format
Broker Name	: localBroker
Broker Type	: local

Image Added

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.
Image Added

Configuring through broker-manager-config.xml

Broker management configuration can be specified in the <CARBON_HOME>/repository/conf/broker-manager-config.xml file, whose configurations are loaded at server start-up.

1. Open the file and enter the following E-mail broker configurations inside the "brokerManagerConfiguration" element.

Code Block
languagehtml/xml
<brokerManagerConfiguration>
	..
	<brokerConfiguraton name="emailBroker" type="e-mail"/>
	..
	..
</brokerManagerConfiguration>