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-examples.git
The following commit(s) were added to refs/heads/master by this push:
new 804d692 Do not use deprecated api
804d692 is described below
commit 804d692070f366860fdea0d2d9e4bfea478deddc
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Feb 24 16:10:10 2020 +0100
Do not use deprecated api
---
.../src/main/java/org/apache/camel/example/java8/MyApplication.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/examples/camel-example-java8/src/main/java/org/apache/camel/example/java8/MyApplication.java
b/examples/camel-example-java8/src/main/java/org/apache/camel/example/java8/MyApplication.java
index 838a3bc..2dddb3f 100644
---
a/examples/camel-example-java8/src/main/java/org/apache/camel/example/java8/MyApplication.java
+++
b/examples/camel-example-java8/src/main/java/org/apache/camel/example/java8/MyApplication.java
@@ -34,7 +34,7 @@ public final class MyApplication {
public static void main(String[] args) throws Exception {
Main main = new Main();
- main.addRouteBuilder(new MyRouteBuilder());
+ main.addRoutesBuilder(new MyRouteBuilder());
main.run(args);
}