Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40D3218313 for ; Mon, 22 Feb 2016 08:59:24 +0000 (UTC) Received: (qmail 57781 invoked by uid 500); 22 Feb 2016 08:59:18 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 57540 invoked by uid 500); 22 Feb 2016 08:59:18 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 57281 invoked by uid 99); 22 Feb 2016 08:59:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2016 08:59:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BA8D72C1F5B for ; Mon, 22 Feb 2016 08:59:18 +0000 (UTC) Date: Mon, 22 Feb 2016 08:59:18 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-8306) rest-dsl - Add support for wildcards to match on prefix MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-8306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-8306: ------------------------------- Fix Version/s: (was: 2.17.0) 2.18.0 > rest-dsl - Add support for wildcards to match on prefix > ------------------------------------------------------- > > Key: CAMEL-8306 > URL: https://issues.apache.org/jira/browse/CAMEL-8306 > Project: Camel > Issue Type: Improvement > Components: camel-core, rest > Reporter: Claus Ibsen > Fix For: 2.18.0 > > > See SO > http://stackoverflow.com/questions/28264748/regex-on-camel-rest-component > eg if we add support for using * as a wildcard then people can do rest paths with * as suffix, to indicate that it should match by wildcard > eg > rest("/api/user/*") > To match > - /api/user > - /api/user/foo > -/api/user/foo/bar > As * requires support from the underlying component, but most of them support that too, eg servlet / jetty / netty-http etc so likely we should be able to do this -- This message was sent by Atlassian JIRA (v6.3.4#6332)