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-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
     new 66f6128  CAMEL-15739: camel-core - Move AdviceWith from Reifier to 
Builder
66f6128 is described below

commit 66f61287ccc718990ec9ee4b082b70a294f08e13
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Oct 22 21:03:05 2020 +0200

    CAMEL-15739: camel-core - Move AdviceWith from Reifier to Builder
---
 .../org/apache/camel/spring/boot/mockendpoints/AdviceWithTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/mockendpoints/AdviceWithTest.java
 
b/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/mockendpoints/AdviceWithTest.java
index 1b02b1b..f1f2b9f 100644
--- 
a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/mockendpoints/AdviceWithTest.java
+++ 
b/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/mockendpoints/AdviceWithTest.java
@@ -17,10 +17,10 @@
 package org.apache.camel.spring.boot.mockendpoints;
 
 import org.apache.camel.ProducerTemplate;
+import org.apache.camel.builder.AdviceWith;
 import org.apache.camel.builder.AdviceWithRouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.model.ModelCamelContext;
-import org.apache.camel.reifier.RouteReifier;
 import org.apache.camel.test.spring.junit5.CamelSpringBootTest;
 import org.apache.camel.test.spring.junit5.UseAdviceWith;
 import org.junit.jupiter.api.Test;
@@ -47,7 +47,7 @@ public class AdviceWithTest {
         // context should not be started because we enabled @UseAdviceWith
         assertFalse(camelContext.getStatus().isStarted());
 
-        RouteReifier.adviceWith(camelContext.getRouteDefinitions().get(0), 
camelContext, new AdviceWithRouteBuilder() {
+        AdviceWith.adviceWith(camelContext.getRouteDefinitions().get(0), 
camelContext, new AdviceWithRouteBuilder() {
             @Override
             public void configure() throws Exception {
                 replaceFromWith("seda:start");

Reply via email to