Repository: camel
Updated Branches:
  refs/heads/temp-jetty9 cf0618d9b -> f6d6325cd


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/0fe9ef55
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0fe9ef55
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0fe9ef55

Branch: refs/heads/temp-jetty9
Commit: 0fe9ef55dfb87da0cefc1b8ff7bd0204528581ed
Parents: 93fd9a5
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:25:19 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/camel/blob/0fe9ef55/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());
             }
         };

Reply via email to