Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 346A910CE8 for ; Wed, 26 Nov 2014 06:41:08 +0000 (UTC) Received: (qmail 63459 invoked by uid 500); 26 Nov 2014 06:41:07 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 63397 invoked by uid 500); 26 Nov 2014 06:41:07 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 63385 invoked by uid 99); 26 Nov 2014 06:41:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2014 06:41:07 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.223.177 as permitted sender) Received: from [209.85.223.177] (HELO mail-ie0-f177.google.com) (209.85.223.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2014 06:41:03 +0000 Received: by mail-ie0-f177.google.com with SMTP id rd18so2081941iec.22 for ; Tue, 25 Nov 2014 22:40:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=MX+ouCepynv+jGFamYGpP/XkWjlvHkokVYfyW7rECP4=; b=OMIRLUvMVX7ucKj92SVKKI39DpofLdJ8bucvfvRm5JXuRC8jjVxTl3yVGd33VEdFpR 7fGvrsivBoSZHH19ZBcyEcWB4ZTYnAx08SUCdrsPWxkgxeAedakqYJiWXQL1PB9gXbXI /ILmYUUIGu1YmbMVvfD92WbTiu52mEn79CMfJHjsbX2WUr+NRgr86kU30Wo3dAapZ12E U05ZMIYsON5xq6oOf9VM74uuqJqRO+FMLBNnybkT26Rl6aXtk2hVH9FIaIEIgYpjnh0P fZ8LhuKgPhcocXfBMa6nA7LxO6fpGPq0ojSEG8bwFtk2qrXBHCs9Gh/6Hwb024pYTYZx N95w== X-Received: by 10.50.142.33 with SMTP id rt1mr21500848igb.12.1416984043176; Tue, 25 Nov 2014 22:40:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.126.136 with HTTP; Tue, 25 Nov 2014 22:40:22 -0800 (PST) In-Reply-To: <1416954992087-5759604.post@n5.nabble.com> References: <1416954992087-5759604.post@n5.nabble.com> From: Claus Ibsen Date: Wed, 26 Nov 2014 07:40:22 +0100 Message-ID: Subject: Re: Servlet component matchOnUriPrefix is not working as documented To: "users@camel.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org What version of Camel do you use? And as a workaround then try flip the order of the 2 routes. On Tue, Nov 25, 2014 at 11:36 PM, Amit wrote: > We are using Servlet component and we route two routes as below. When i send > request to (route2) myservice/v1/ it process by route1. > > As per Servlet component document "CamelServlet should try to find a target > consumer by matching the URI prefix, if no exact match is found." > is not valid. > > > > > route1 > ======== > > > > > > route2 > ========= > > > > > > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/Servlet-component-matchOnUriPrefix-is-not-working-as-documented-tp5759604.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cibsen@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/