michael elbaz created CAMEL-14296:
-------------------------------------

             Summary: Camel advice with
                 Key: CAMEL-14296
                 URL: https://issues.apache.org/jira/browse/CAMEL-14296
             Project: Camel
          Issue Type: Bug
          Components: camel-test
    Affects Versions: 3.0.0
            Reporter: michael elbaz


I can't use adviceWith with camel 3

{code:java}
  @Override
    @Before
    public void setUp() throws Exception {
        // Init...

        super.setUp();

        AdviceWithRouteBuilder.adviceWith(context(), "id", 
adviceWithRouteBuilder -> {
            adviceWithRouteBuilder.replaceFromWith("timer:foo");
        });
    }
{code}
I see url replacement but the context shutdown immediately 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to