【发布时间】:2014-10-30 13:37:30
【问题描述】:
我有以下骆驼路线
<camel:route>
<camel:from uri="restlet:/foo/{bar}/model" />
<camel:process ref="dummyProcessor" />
</camel:route>
我的问题是为什么我匹配这些请求(基本上我可以在模型后面放任何东西)
GET /foo/hoi/modelbroken
GET /foo/hoi/modelwhyisthisamatch
我希望这些应该返回 404。
我做错了什么?
【问题讨论】:
标签: apache-camel restlet url-mapping