org.apache.activemq.transport.http
Class HttpSpringEmbeddedTunnelServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.activemq.transport.http.HttpTunnelServlet
              extended by org.apache.activemq.transport.http.HttpEmbeddedTunnelServlet
                  extended by org.apache.activemq.transport.http.HttpSpringEmbeddedTunnelServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class HttpSpringEmbeddedTunnelServlet
extends HttpEmbeddedTunnelServlet

This servlet embeds an ActiveMQ broker inside a servlet engine which is ideal for deploying ActiveMQ inside a WAR and using this servlet as a HTTP tunnel.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.activemq.transport.http.HttpEmbeddedTunnelServlet
broker, transportConnector
 
Constructor Summary
HttpSpringEmbeddedTunnelServlet()
           
 
Method Summary
protected  BrokerService createBroker()
          Factory method to create a new broker
 
Methods inherited from class org.apache.activemq.transport.http.HttpEmbeddedTunnelServlet
getConnectorURL, init
 
Methods inherited from class org.apache.activemq.transport.http.HttpTunnelServlet
createTransportChannel, createTransportChannel, createWireFormat, doGet, doHead, doOptions, doPost, getTransportChannel, readRequestBody
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSpringEmbeddedTunnelServlet

public HttpSpringEmbeddedTunnelServlet()
Method Detail

createBroker

protected BrokerService createBroker()
                              throws Exception
Factory method to create a new broker

Overrides:
createBroker in class HttpEmbeddedTunnelServlet
Throws:
Exception


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.