Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8306

rest-dsl - Add support for wildcards to match on prefix

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: camel-core, rest
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              ramu11 Ramu
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: