1
我試圖使用鏈接路由器,像這樣:鏈接路由器和方案
<flow name="Something">
<quartz:inbound-endpoint jobName="eventTimer"
repeatInterval="2000">
<quartz:event-generator-job />
</quartz:inbound-endpoint>
<chaining-router>
<jdbc:outbound-endpoint queryKey="selectMules"
exchange-pattern="request-response" />
<collection-splitter />
<vm:outbound-endpoint path="Something"
exchange-pattern="one-way" />
</chaining-router>
</flow>
但是,我一直gettnig方案錯誤:
A Fatal error has occurred while the server was running: *
* cvc-complex-type.2.4.a: Invalid content was found starting with element *
* 'chaining-router'.
現在,我已經檢查和relveant scehmes是加載 - 我的計劃是:
<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:spring="http://www.springframework.org/schema/beans" xmlns:http="http://www.mulesoft.org/schema/mule/http"
xmlns:stdio="http://www.mulesoft.org/schema/mule/stdio" xmlns:vm="http://www.mulesoft.org/schema/mule/vm"
xmlns:quartz="http://www.mulesoft.org/schema/mule/quartz" xmlns:cxf="http://www.mulesoft.org/schema/mule/cxf"
xmlns:script="http://www.mulesoft.org/schema/mule/scripting"
xmlns:pattern="http://www.mulesoft.org/schema/mule/pattern" xmlns:jdbc="http://www.mulesoft.org/schema/mule/jdbc"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.2/mule.xsd
http://www.mulesoft.org/schema/mule/quartz http://www.mulesoft.org/schema/mule/quartz/3.2/mule-quartz.xsd
http://www.mulesoft.org/schema/mule/scripting http://www.mulesoft.org/schema/mule/scripting/3.2/mule-scripting.xsd
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.2/mule-http.xsd
http://www.mulesoft.org/schema/mule/stdio http://www.mulesoft.org/schema/mule/stdio/3.2/mule-stdio.xsd
http://www.mulesoft.org/schema/mule/cxf http://www.mulesoft.org/schema/mule/cxf/3.2/mule-cxf.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.mulesoft.org/schema/mule/pattern http://www.mulesoft.org/schema/mule/pattern/3.2/mule-pattern.xsd
http://www.mulesoft.org/schema/mule/jdbc http://www.mulesoft.org/schema/mule/jdbc/3.2/mule-jdbc.xsd
http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.2/mule-vm.xsd">
我是否缺少什麼?
謝謝!
我不認爲我已經感謝你的所有答覆。你似乎是關於騾子最懂事的人。如果我可以在這裏找到你的書的更新副本,我會在心跳中購買它。 – Menyh