In addition to the default input and output event adapters, you can define your own custom event adapters, which give more flexibility to receive events that are sent to WSO2 products. Since each event adapter implementation is an OSGI bundle, you can deploy/undeploy it easily on the WSO2 product. To create a custom event adapter, import one of the following packages that provide skeleton classes required by a custom event adapter implementation.
- To create a custom input event adapter, import
org.wso2.carbon.event.input.adaptor.core
package to your project. - To create a custom output event adapter, import
org.wso2.carbon.event.output.adaptor.core
package to your project.