Java 使用ApacheCamel和SpringWS的WS-Security
我目前正在用Camel编写一个webservice服务器,需要实现WS-Security(加密/签名)。 在其他项目中,我使用了SpringWS,所以我想我也应该使用Camel的实现 我想我应该只配置一个Wss4jSecurityInterceptor,但是当我尝试实现它时,我发现SpringWS包中缺少整个org.springframework.ws.soap.security.*名称空间 WS-Security是否仅支持Apache CXF 编辑:以下是我如何设置路线的:Java 使用ApacheCamel和SpringWS的WS-Security,java,spring,apache-camel,spring-ws,Java,Spring,Apache Camel,Spring Ws,我目前正在用Camel编写一个webservice服务器,需要实现WS-Security(加密/签名)。 在其他项目中,我使用了SpringWS,所以我想我也应该使用Camel的实现 我想我应该只配置一个Wss4jSecurityInterceptor,但是当我尝试实现它时,我发现SpringWS包中缺少整个org.springframework.ws.soap.security.*名称空间 WS-Security是否仅支持Apache CXF 编辑:以下是我如何设置路线的: from("spr
from("spring-ws:rootqname:{http://schemas.somewhere.dk/}operation?endpointMapping=#endpointMapping")
.setExchangePattern(ExchangePattern.InOut)
.process(MyProcessor)
.to("jms:queue:test.out");
我最终发现运行“mvneclipse:eclipse”弄乱了我的eclipse项目文件,这反过来又导致eclipse不更新依赖项。
在快速删除/导入现有maven项目后,情况看起来与预期一样。您能提供一些有关路线及其配置的信息吗?