新的 http 连接器可以与 Mule 3.6 中的 http:static-resource-handler 一起使用吗?

Can the new http connector be used with the http:static-resource-handler in Mule 3.6?

我有以下流程,尝试将 Mule 3.6 中的新 http 连接器与 http:static-resource-handler 一起使用:

  <flow name="facebook-sources-apiFlow1">
    <http:listener config-ref="HTTP_Listener_Configuration" path="/admin" doc:name="HTTP"/>
    <http:static-resource-handler resourceBase="${app.home}/web" defaultFile="index.html" doc:name="HTTP Static Resource Handler"/>
  </flow>

我在 src/main/app 下有一个名为 'web' 的目录,在 web 目录中有一个 index.html。但是,当我尝试这样做时,出现以下错误:

null (java.lang.NullPointerException). Message payload is of type: NullPayload

在花太多时间解决这个问题之前,我想问一下新的 http 连接器是否可以与静态资源处理程序一起使用。

恐怕你不能。这里有一个错误:https://www.mulesoft.org/jira/browse/MULE-8317