这两个骡子流之间有什么区别

时间:2013-03-12 19:04:22

标签: mule

<flow name="webserviceFlow1">
    <http:inbound-endpoint exchange-pattern="request-response" address="http://localhost:7079/service">
    <cxf:jaxws-service doc:name="SOAP" enableMuleSoapHeaders="false" serviceClass="MyService"/>
    </http:inbound-endpoint>
    <component class="MyServiceImpl" />        
</flow>

<flow name="webserviceFlow1">
    <http:inbound-endpoint exchange-pattern="request-response" address="http://localhost:7079/service"/>
    <cxf:jaxws-service doc:name="SOAP" enableMuleSoapHeaders="false" serviceClass="MyService"/>
    <component class="MyServiceImpl" />        
</flow>

1 个答案:

答案 0 :(得分:3)

如果流程保持在问题中,那么它们在功能上是等效的。

如果您希望此流程也可以通过<composite-source>通过VM传输进行直接请求,那么您需要将cxf:jaxws-service限制为{{1}所以CXF逻辑没有启动,如下所示:

http:inbound-endpoint