mule wildcard servlet path

时间:2018-06-13 19:06:00

标签: servlets wildcard endpoint mule-esb

我需要为<servlet:inbound-endpoint>路径配置/test/*传输的通配符路径,以便将/test/hello/test/xyz请求发送到此servlet。

这是我的配置:

1- web.xml

<servlet-mapping>  
  <url-pattern>/test/*</url-pattern>
</servlet-mapping>

2- servlet配置:

<flow name="test" processingStrategy="synchronous">
    <servlet:inbound-endpoint path="/test/*" />
    <logger level="INFO" message="received in the servlet" />
</flow>

但是我收到了这个错误:

HTTP Status 404 - Failed to process request, see root exception cause for details: Endpoint "hello" not found

0 个答案:

没有答案