You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by cs...@apache.org on 2014/12/12 18:23:44 UTC

[4/6] camel git commit: Avoid direct usage of impl class

Avoid direct usage of impl class


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/abde35a3
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/abde35a3
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/abde35a3

Branch: refs/heads/temp-jetty9
Commit: abde35a324caa91de0fc91c4bde4aeaff7cd73a1
Parents: b429de5
Author: Christian Schneider <ch...@die-schneider.net>
Authored: Fri Dec 12 17:59:18 2014 +0100
Committer: Christian Schneider <ch...@die-schneider.net>
Committed: Fri Dec 12 18:15:37 2014 +0100

----------------------------------------------------------------------
 .../apache/camel/component/jetty/ExplicitJettyRouteTest.java  | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/abde35a3/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/ExplicitJettyRouteTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/ExplicitJettyRouteTest.java b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/ExplicitJettyRouteTest.java
index 724ced5..194c42f 100644
--- a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/ExplicitJettyRouteTest.java
+++ b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/ExplicitJettyRouteTest.java
@@ -40,13 +40,6 @@ public class ExplicitJettyRouteTest extends BaseJettyTest {
     protected RouteBuilder createRouteBuilder() throws Exception {
         return new RouteBuilder() {
             public void configure() throws Exception {
-                // START SNIPPET: e1
-                // create jetty component
-                JettyHttpComponent jetty = new JettyHttpComponent();
-                // add jetty to camel context
-                context.addComponent("jetty", jetty);
-                // END SNIPPET: e1
-
                 from("jetty:http://localhost:{{port}}/myapp/myservice").process(new MyBookService());
             }
         };