This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 3e380ab CAMEL-11979: camel-undertow - swagger api should match on uri prefix 3e380ab is described below commit 3e380ab264c676e76f64847a0fa12708b4262533 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Nov 1 20:04:51 2017 +0100 CAMEL-11979: camel-undertow - swagger api should match on uri prefix --- .../java/org/apache/camel/component/undertow/UndertowComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java index 052c300..8fa093e 100644 --- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java +++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java @@ -228,7 +228,7 @@ public class UndertowComponent extends DefaultComponent implements RestConsumerF String url; if (api) { - url = "undertow:%s://%s:%s/%s?httpMethodRestrict=%s"; + url = "undertow:%s://%s:%s/%s?matchOnUriPrefix=true&httpMethodRestrict=%s"; } else { url = "undertow:%s://%s:%s/%s?matchOnUriPrefix=false&httpMethodRestrict=%s"; } -- To stop receiving notification emails like this one, please contact ['"commits@camel.apache.org" <commits@camel.apache.org>'].