+1 to check the address path which is starting with "/rest/". It's more make sense for us.
On 5/11/11 5:48 AM, Aki Yoshida wrote:
Hi Sergey, Thanks for your explanation. I suspected of such a fallback logic. But should this fallback work for an arbitrary string or only for path segments. For example, in your example, if the rest service is registered at "/rest", a request to "/rest/1/2" should be sent to this service but how about a request to "/rest234"? If we do not foward such a request but only foward those with the matching path segments, can we just do the check for whether the address path is starting with "/rest/" or identical to "/rest"? Thanks. Regards, aki
-- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Connect at CamelOne May 24-26 The Open Source Integration Conference http://camelone.com
