This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 7ebfd753646d correct non-lambda adviceWith() argument (#21685)
7ebfd753646d is described below
commit 7ebfd753646da4e870156c337f5340989aa3afd0
Author: SilverstarStream <[email protected]>
AuthorDate: Mon Mar 2 23:11:37 2026 -0700
correct non-lambda adviceWith() argument (#21685)
---
docs/user-manual/modules/ROOT/pages/advice-with.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/user-manual/modules/ROOT/pages/advice-with.adoc
b/docs/user-manual/modules/ROOT/pages/advice-with.adoc
index 5b8e9214ca10..065b931bdaae 100644
--- a/docs/user-manual/modules/ROOT/pages/advice-with.adoc
+++ b/docs/user-manual/modules/ROOT/pages/advice-with.adoc
@@ -56,7 +56,7 @@ But first, you need to select which route to manipulate which
you can do by the
[source,java]
----
-AdviceWith.adviceWith(context, "myRoute", new AdviceWithRouteBuilder() {
+AdviceWith.adviceWith("myRoute", context, new AdviceWithRouteBuilder() {
@Override
public void configure() throws Exception {
weaveAddLast().to("mock:result");