This documentation is for WSO2 CEP 2.1.0. View the home page of the latest release.

Skip to end of metadata
Go to start of metadata

In-order to write custom broker we have to extend "" and "" that are available in the jar
Here the implementation of the "" will contain the broker logic to that will be used to send and receive events,
and the implementation of "" will be used as the factory to crate your appropriate BrokerType.

After implementing the broker build that and add that to CEP_HOME/repository/components/lib directory.
Next, you have to create a file called "broker.xml" at wso2cep-2.0.1/repository/conf directory, and add the implantation class as in the following XML:

<brokerTypes xmlns="">
    <brokerType class=""/>

Note: In the above code snippet change the "" with your implementation class name.

Finally, restart & login to the CEP server,  go to Configure -> Broker -> Add, and there you will be able configure your custom broker.

For a detail guide on implementing a Broker Extension follow the guild provided here.


  • No labels