问题
I have created custom mediator with Factory and Serializer classes. Created jar with \META-INF\services\ files and put it to dropins folder.
But after restart when I deployed test proxy with my mediator, I always get error like this:
org.apache.synapse.SynapseException: Unknown mediator referenced by configuration element :
at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:218)
It looks like ESB isn't able to find the Factory class. Where is my mistake& And may be someone has working example custom mediator with factory and serializer clases?
来源:https://stackoverflow.com/questions/38559695/create-and-deploy-custom-mediator-in-wso2-esb