This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-4.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.14.x by this push:
     new 5957524d43c9 CAMEL-23128: fix broken links (#21707)
5957524d43c9 is described below

commit 5957524d43c9d94b325c1dba0984514128dca905
Author: GaĆ«lle Fournier <[email protected]>
AuthorDate: Thu Mar 5 09:49:37 2026 +0100

    CAMEL-23128: fix broken links (#21707)
---
 .../camel-jetty/src/main/docs/jetty-component.adoc | 35 ++++++++++++++++++++--
 .../camel-spring/src/main/docs/spring-summary.adoc |  3 --
 .../src/main/docs/undertow-component.adoc          | 34 +++++++++++++++++++--
 3 files changed, 64 insertions(+), 8 deletions(-)

diff --git a/components/camel-jetty/src/main/docs/jetty-component.adoc 
b/components/camel-jetty/src/main/docs/jetty-component.adoc
index 05bc345ad545..6c2b9d7ae081 100644
--- a/components/camel-jetty/src/main/docs/jetty-component.adoc
+++ b/components/camel-jetty/src/main/docs/jetty-component.adoc
@@ -103,10 +103,41 @@ the numerical IP address of this interface should be used 
as the host.
 If you need to expose a Jetty endpoint on all network interfaces, the
 `0.0.0.0` address should be used.
 
-To listen across an entire URI prefix, see
-xref:manual:faq:how-do-i-let-jetty-match-wildcards.adoc[How do I let Jetty 
match wildcards].
+To listen across an entire URI prefix, see below.
 ====
 
+=== How do I let Jetty match wildcards?
+
+By default xref:components::jetty-component.adoc[Jetty] will only match on 
exact uri's. But
+you can instruct Jetty to match prefixes. For example:
+
+[source,java]
+----
+from("jetty://0.0.0.0:8123/foo").to("mock:foo");
+----
+
+In the route above xref:components::jetty-component.adoc[Jetty] will only 
match if the uri is
+an exact match, so it will match if you enter
+`\http://0.0.0.0:8123/foo` but not match if you do
+`\http://0.0.0.0:8123/foo/bar`.
+
+So if you want to enable wildcard matching you do as follows:
+
+[source,java]
+----
+from("jetty://0.0.0.0:8123/foo?matchOnUriPrefix=true").to("mock:foo");
+----
+
+So now Jetty matches any endpoints with starts with `foo`.
+
+To match *any* endpoint you can do:
+
+[source,java]
+----
+from("jetty://0.0.0.0:8123?matchOnUriPrefix=true").to("mock:foo");
+----
+
+
 === Servlets
 
 If you actually want to expose routes by HTTP and already have a
diff --git 
a/components/camel-spring-parent/camel-spring/src/main/docs/spring-summary.adoc 
b/components/camel-spring-parent/camel-spring/src/main/docs/spring-summary.adoc
index aa7c86f90664..9b4a9d251b0f 100644
--- 
a/components/camel-spring-parent/camel-spring/src/main/docs/spring-summary.adoc
+++ 
b/components/camel-spring-parent/camel-spring/src/main/docs/spring-summary.adoc
@@ -398,9 +398,6 @@ the above example), then you can refer to the component 
using
 SpringCamelContext lazily fetching components from the spring context
 for the scheme name you use for Endpoint URIs.
 
-For more details, see 
xref:manual:faq:how-do-i-configure-endpoints.adoc[Configuring
-Endpoints and Components].
-
 == CamelContextAware
 
 If you want the `CamelContext` to be injected
diff --git a/components/camel-undertow/src/main/docs/undertow-component.adoc 
b/components/camel-undertow/src/main/docs/undertow-component.adoc
index e2de917c72ca..e334640c3046 100644
--- a/components/camel-undertow/src/main/docs/undertow-component.adoc
+++ b/components/camel-undertow/src/main/docs/undertow-component.adoc
@@ -94,13 +94,41 @@ the numerical IP address of this interface should be used 
as the host.
 If you need to expose an Undertow endpoint on all network interfaces, the
 `0.0.0.0` address should be used.
 
-To listen across an entire URI prefix, see
-xref:manual:faq:how-do-i-let-jetty-match-wildcards.adoc[How do I let Jetty 
match wildcards?].
-
 If you actually want to expose routes by HTTP and already have a
 Servlet, you should instead refer to the
 xref:servlet-component.adoc[Servlet Transport].
 
+=== How do I let Undertow match wildcards?
+
+By default, Undertow will only match on exact uri's. But you can instruct 
Undertow to match prefixes. For example:
+
+[source,java]
+----
+from("undertow:http://0.0.0.0:8123/foo";).to("mock:foo");
+----
+
+In the route above Undertow will only match if the uri is
+an exact match, so it will match if you enter
+`\http://0.0.0.0:8123/foo` but not match if you do
+`\http://0.0.0.0:8123/foo/bar`.
+
+So if you want to enable wildcard matching you need to set 
`matchOnUriPrefix=true` as follows:
+
+[source,java]
+----
+from("undertow:http://0.0.0.0:8123/foo?matchOnUriPrefix=true";).to("mock:foo");
+----
+
+So now Undertow matches any endpoints with starts with `foo`.
+
+To match *any* endpoint you can remove the prefix so it will match anything 
from the root:
+
+[source,java]
+----
+from("undertow:http://0.0.0.0:8123?matchOnUriPrefix=true";).to("mock:foo");
+----
+
+
 === Security provider
 
 To plug in a security provider for endpoint authentication, implement SPI 
interface

Reply via email to