Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.6.0
-
Mule ESB 3.6.0-M3-SNAPSHOT Build: e9230391
JDK 1.7
OS X - Version 10.9.5
-
S1
-
5
-
-
ESB Himalaya 5
Description
When you use a Wildcard to support a pattern in the PATH it's not working fine in these scenarios:
For path="/in_wildcard/*" />
1) It doesn't work consuming it with path="/in_wildcard/"
2) It doesn't work consuming it with path="/in_wildcard/foo1/foo2"
(with /in_wildcard/foo1 works fine)
If I have another flow in the same app with a path="/in_wildcard/*/subpath1" />
1) It doesn't work consuming it with path="/in_wildcard/foo1/subpath1"
Examples:
<flow name="http_listener_test_wildcard">
<http:listener host="localhost" port="8083" path="/in_wildcard/*" />
<set-payload value="TestOK" />
</flow>
<flow name="http_listener_test_wildcard_2">
<http:listener host="localhost" port="8083" path="/in_wildcard/*/subpath1" />
<set-payload value="TestOK123" />
</flow>
1) GET Method: http://localhost:8083/in_wildcard/ should return "TestOk" but it doesn't work in that path (STATUS 404 No listener for endpoint: /in_wildcard/)
2) GET Method: http://localhost:8083/in_wildcard/foo1/foo2 should return "TestOk" but it doesn't work in that path (STATUS 404 No listener for endpoint: /in_wildcard/foo1/foo2/)
3) GET Method: http://localhost:9001/in/in_wildcard/foo1/subpath1 should return "TestOk123" but it doesn't work in that path (STATUS 404 No listener for endpoint: /in_wildcard/foo1/subpath1)