【问题标题】:cxf outbound and inbound -endpoint Mule 3.6cxf 出站和入站-endpoint Mule 3.6
【发布时间】:2016-07-01 06:34:28
【问题描述】:

我们正在寻求将一段旧的 mule xml 代码迁移到 Mule 3.6,但我遇到了这个特定功能的问题

<cxf:outbound-endpoint address="${business.process.one}"
                                   proxy="true"
                                   synchronous="true"
                                   transformer-refs="domToXml logging extractIDTransformer stripOutContentIds logging xmlToXSR"
                                   applyTransformersToProtocol="false">
                <xa-transaction action="ALWAYS_JOIN" timeout="60000"/>
                <property key="outInterceptors" value-ref="cxfOutInterceptors"/>
                <property key="inInterceptors" value-ref="cxfResponseOutboundInterceptors"/>
            </cxf:outbound-endpoint>

以及各种入站 cxf 端点地址以及它所说的

此处不允许使用元素 cxf:outbound-endpoint

Mule 3.6 中是否有新的方法?

【问题讨论】:

    标签: web-services mule


    【解决方案1】:

    示例应如下所示,根据您的要求选择操作 'client' 或 'service' 。拦截器可以是基于 In 和 out 的选择器。这会很简单。参考:https://docs.mulesoft.com/mule-user-guide/v/3.6/cxf-module-reference更多详情

     <cxf:jaxws-service doc:name="CXF" configuration-ref="CXF_Configuration" serviceClass="co.test.ServiceHttpGet" validationEnabled="true">
            <cxf:inInterceptors>
                <spring:ref bean="inInterceptorBean"/>
            </cxf:inInterceptors>
            <cxf:outInterceptors>
                <spring:ref bean="outInterceptorBeans"/>
            </cxf:outInterceptors>
        </cxf:jaxws-service>
    

    【讨论】:

    • 这个服务等级是什么?为什么我需要指定这个?我的端点是一个业务流程
    猜你喜欢
    • 2014-08-26
    • 2015-11-02
    • 1970-01-01
    • 1970-01-01
    • 2014-01-26
    • 1970-01-01
    • 1970-01-01
    • 2016-02-19
    • 1970-01-01
    相关资源
    最近更新 更多