我通过DS(v 3.2.0)创建自定义中介并根据文章上传JAR http://docs.wso2.org/display/ESB403/Uploading+Artifacts(WSO2企业服务总线-4.8.0) 但我得到例外 org.apache.axis2.AxisFault:路径中找不到类bisB.TestReqB 甚至在重装ESB之后。 我可以对调解员进行热部署吗?
(如果我将JAR放到\ repository \ components \ dropins,重启ESB后,我没有错误。)
清单:
Manifest-Version: 1.0
Export-Package: bisB;uses:="org.apache.axiom.soap,org.apache.synapse,o
rg.apache.synapse.core,org.apache.axiom.om,org.apache.synapse.mediato
rs"
Built-By: germ
Tool: Bnd-1.15.0
Bundle-Name: TestReqB
Created-By: Apache Maven Bundle Plugin
DynamicImport-Package: *
Build-Jdk: 1.7.0_25
Bundle-Version: 1.0.0
Bnd-LastModified: 1387867159131
Bundle-ManifestVersion: 2
Bundle-Description: TestReqB
Bundle-SymbolicName: TestReqB
Import-Package: org.apache.axiom.om;version="[1.2,2)",org.apache.axiom
.soap;version="[1.2,2)",org.apache.synapse,org.apache.synapse.core,or
g.apache.synapse.mediators
答案 0 :(得分:0)
您应该查看http://docs.wso2.org/display/ESB480/Places+for+Putting+Custom+Mediators
In all these cases you have to restart the server after putting the mediator.