You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/10/26 22:04:02 UTC
[camel] branch master updated: Update camel-3-migration-guide.adoc
This is an automated email from the ASF dual-hosted git repository.
acosentino 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 c7e7bcd Update camel-3-migration-guide.adoc
c7e7bcd is described below
commit c7e7bcd3210fba1b1235ec9421e8c1ccb69047d4
Author: fg78nc <fg...@gmail.com>
AuthorDate: Mon Oct 26 17:46:11 2020 -0400
Update camel-3-migration-guide.adoc
`AdviceWithRouteBuilder.adviceWith` is deprecated, corrected with replacement.
---
docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc b/docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc
index d4f789a..cc6d7bb 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc
@@ -610,7 +610,7 @@ However its even easier using lambda style with `AdviceWithRouteBuilder` directl
[source,java]
----
-AdviceWithRouteBuilder.adviceWith(context, "myRoute", a -> {
+AdviceWith.adviceWith(context, "myRoute", a -> {
a.replaceFromWith("direct:start");
}
----