Child pages
  • Output WSO2Event Event Adapter

Versions Compared


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


repository/deployment/server/inputeventadaptors/ directory.

  1. Log in to product's management console, and click Configure.
  2. Click Input Click Output Event Adaptors in the Event Processor Configs menu, and then click Add Input Output Event Adaptor. 
  3. Enter details as shown in the below example. This example assumes that the agent server is started on port 7611.
    create output WSO2Event event adapter

  4. Click Add Event Adaptor. 

Using a configuration file
Using a configuration file
Configure using a configuration file

Follow the instructions below to configure output WSO2Event event adapter using a configuration file.

  1. Create an XML file with the following output event adaptor configurations. Output event adapter implementation must start with <outputEventAdaptor> as the root element.

    Code Block
    <outputEventAdaptor name="outputWSO2EventAdaptor" statistics="disable"
      trace="disable" type="wso2event" xmlns="">
      <property name="username">admin</property>
      <property name="receiverURL">tcp://localhost:7661</property>
      <property name="password">admin</property>
      <property name="authenticatorURL">ssl://localhost:7761</property>
  2. Add the XML file to the <PRODUCT_HOME>/repository/deployment/server/outputeventadaptors/ directory. Since hot deployment is enabled, you can simply add/remove files to deploy/undeploy to/from the server.  


After an adapter is successfully added, it gets added to the list of adapters displayed under Event Processor Configs in the Configure menu of the product's management console. Click Edit to change its configuration and redeploy it. This opens an XML-based editor allowing you to edit the event adapter configurations from the UI.  Do your modifications and click Update. You can also delete it, enable/disable statistics or enable/disable tracing on it using the provided options in the UI.

Configuring output WSO2Event event adapter message properties

The configured output event adapters are used in event formatters. With output event adapter message properties event formatters are able to extract data from the event streams, and format the output events. Message properties specific to output event adapters of the wso2event type can be configured as follows.
  1. Log into the CEP Management Console. For detailed instructions, see Running the Product.
  2. Click the Configure tab and then click Event Formatters to open the Available Event Formatters page.
  3. Click the name of the event formatter to which the relevant output event adapter is connected. This opens the Event the Event Formatter Details pageDetails page.
    output WSO2Event event adapter message propertiesThe message properties of a wso2event output event adapter are described below. Change the property values as required.

    Stream NameName of the outgoing WSO2Event event stream
    Stream VersionVersion of the outgoing WSO2Event event stream
    Output Mapping TypeThe outgoing event type to be mapped. The output WSO2Event event adaptor supports only WSO2Event mapping type.