I need to map my custom synapse handler to a specific API in WSO2 EI 6.1.1. I tried below two separate methods to configure the Custom synapse Handler to map with API
method 1: configure the handler in EI_HOME/conf/synapse-handlers.xml This way the handler applied to all APIs. ref:https://docs.wso2.com/display/EI600/Writing+a+Synapse+Handler
method 2: configure the handler in API xml
......</resource>
<handlers>
<handler class="org.test.TestHandler1"/>
</handlers>
</api>
this way it leads to an error when starting the EI server. looks like method 2 is possible on WSO2 ESB not WSO2 EI
looking for a way to do this. note: I am extending AbstractSynapseHandler to create custom synapse handler
thanks in advance