org.apache.camel.component.http
Class JettyHttpComponent

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent<HttpExchange>
          extended by org.apache.camel.component.http.HttpComponent
              extended by org.apache.camel.component.http.JettyHttpComponent
All Implemented Interfaces:
org.apache.camel.Component<HttpExchange>, org.apache.camel.Service

public class JettyHttpComponent
extends HttpComponent

An HttpComponent which starts an embedded Jetty for to handle consuming from http endpoints.

Version:
$Revision: 525142 $

Constructor Summary
JettyHttpComponent()
           
 
Method Summary
 void connect(HttpConsumer consumer)
          Connects the URL specified on the endpoint to the specified processor.
 void disconnect(HttpConsumer consumer)
          Disconnects the URL specified on the endpoint from the specified processor.
protected  void doStart()
           
protected  void doStop()
           
 
Methods inherited from class org.apache.camel.component.http.HttpComponent
createEndpoint, getCamelServlet, setCamelServlet
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
createEndpoint, createExecutorService, getCamelContext, getExecutorService, setCamelContext, setExecutorService
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, isStarted, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyHttpComponent

public JettyHttpComponent()
Method Detail

doStart

protected void doStart()
                throws Exception
Overrides:
doStart in class org.apache.camel.impl.DefaultComponent<HttpExchange>
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Overrides:
doStop in class org.apache.camel.impl.DefaultComponent<HttpExchange>
Throws:
Exception

connect

public void connect(HttpConsumer consumer)
             throws Exception
Description copied from class: HttpComponent
Connects the URL specified on the endpoint to the specified processor.

Overrides:
connect in class HttpComponent
Throws:
Exception

disconnect

public void disconnect(HttpConsumer consumer)
                throws Exception
Description copied from class: HttpComponent
Disconnects the URL specified on the endpoint from the specified processor.

Overrides:
disconnect in class HttpComponent
Throws:
Exception


Copyright © 2007 Apache Software Foundation. All Rights Reserved.