You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/03/03 06:12:27 UTC

(camel) branch camel-4.18.x updated: correct non-lambda adviceWith() argument (#21685)

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

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


The following commit(s) were added to refs/heads/camel-4.18.x by this push:
     new 09b4ac96193b correct non-lambda adviceWith() argument (#21685)
09b4ac96193b is described below

commit 09b4ac96193baad9f4dbe93e088704e1b53684b8
Author: SilverstarStream <46...@users.noreply.github.com>
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");