org.apache.activemq.transport.http
Class HttpEmbeddedTunnelServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.activemq.transport.http.HttpTunnelServlet
org.apache.activemq.transport.http.HttpEmbeddedTunnelServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- HttpSpringEmbeddedTunnelServlet
public class HttpEmbeddedTunnelServlet
- extends HttpTunnelServlet
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.
- Version:
- $Revision$
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doOptions, 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 |
broker
protected BrokerService broker
transportConnector
protected HttpTransportServer transportConnector
HttpEmbeddedTunnelServlet
public HttpEmbeddedTunnelServlet()
init
public void init()
throws javax.servlet.ServletException
- Overrides:
init
in class HttpTunnelServlet
- Throws:
javax.servlet.ServletException
createBroker
protected BrokerService createBroker()
throws java.lang.Exception
- Factory method to create a new broker
- Throws:
java.lang.Exception
getConnectorURL
protected java.lang.String getConnectorURL()
Copyright © 2010 Apache Software Foundation. All Rights Reserved.