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.
org.wso2.carbon.event.input.adaptor.corepackage to your project.
org.wso2.carbon.event.output.adaptor.corepackage to your project.