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 2020/10/22 18:48:08 UTC

[camel-karaf] branch master updated: CAMEL-15739: camel-core - Move AdviceWith from Reifier to Builder

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-karaf.git


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

commit 8c5188d3887e509d4ba3cbf1b198955205f39575
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Oct 22 20:47:31 2020 +0200

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

diff --git a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/SimpleWeaveAddMockLastTest.java b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/SimpleWeaveAddMockLastTest.java
index d9b9679..a7c4e5a 100644
--- a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/SimpleWeaveAddMockLastTest.java
+++ b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/SimpleWeaveAddMockLastTest.java
@@ -16,8 +16,8 @@
  */
 package org.apache.camel.test.blueprint;
 
+import org.apache.camel.builder.AdviceWith;
 import org.apache.camel.builder.AdviceWithRouteBuilder;
-import org.apache.camel.reifier.RouteReifier;
 import org.junit.Test;
 
 public class SimpleWeaveAddMockLastTest extends CamelBlueprintTestSupport {
@@ -34,7 +34,7 @@ public class SimpleWeaveAddMockLastTest extends CamelBlueprintTestSupport {
 
     @Test
     public void testWeaveAddMockLast() throws Exception {
-        RouteReifier.adviceWith(context.getRouteDefinitions().get(0), context, new AdviceWithRouteBuilder() {
+        AdviceWith.adviceWith(context.getRouteDefinitions().get(0), context, new AdviceWithRouteBuilder() {
             @Override
             public void configure() throws Exception {
                 weaveAddLast().to("mock:result");