This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch 13162
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/13162 by this push:
new 65a303c (fix) CAMEL-13162: Fixed rest-dsl advice-with using inlined
route with route id and replacing from should not append routeId as uri
parameter.
65a303c is described below
commit 65a303c2e6efc8ae39b7d06b6a9c3ec877e6d0df
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Mar 19 10:26:41 2019 +0100
(fix) CAMEL-13162: Fixed rest-dsl advice-with using inlined route with
route id and replacing from should not append routeId as uri parameter.
---
.../org/apache/camel/component/rest/FromRestAdviceWithTest.java | 8 --------
1 file changed, 8 deletions(-)
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestAdviceWithTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestAdviceWithTest.java
index 9534f2c..92a8d80 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestAdviceWithTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestAdviceWithTest.java
@@ -19,7 +19,6 @@ package org.apache.camel.component.rest;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.builder.AdviceWithRouteBuilder;
import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.impl.JndiRegistry;
import org.apache.camel.model.RouteDefinition;
import org.apache.camel.reifier.RouteReifier;
import org.junit.Test;
@@ -31,13 +30,6 @@ public class FromRestAdviceWithTest extends
ContextTestSupport {
return false;
}
- @Override
- protected JndiRegistry createRegistry() throws Exception {
- JndiRegistry jndi = super.createRegistry();
- jndi.bind("dummy-rest", new DummyRestConsumerFactory());
- return jndi;
- }
-
@Test
public void testAdviceWith() throws Exception {
context.addRoutes(new RouteBuilder() {