Class HttpSpringEmbeddedTunnelServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.activemq.transport.http.HttpTunnelServlet
-
- org.apache.activemq.transport.http.HttpEmbeddedTunnelServlet
-
- 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
Constructors Constructor Description HttpSpringEmbeddedTunnelServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
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
-
-
-
-
Method Detail
-
createBroker
protected BrokerService createBroker() throws Exception
Factory method to create a new broker- Overrides:
createBroker
in classHttpEmbeddedTunnelServlet
- Throws:
Exception
-
-