<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

    <display-name>ActiveMQ Message Broker Web Application</display-name>
    <description>
    Provides an embedded ActiveMQ Message Broker embedded inside a web application
    </description>

    <!-- context config -->
    <context-param>
        <param-name>org.activemq.brokerURL</param-name>
        <param-value>tcp://localhost:61616</param-value>
        <description>The URL that the embedded broker should listen on in addition to HTTP</description>
    </context-param>



    <!-- servlet mappings -->

    <!-- the main REST servlet -->
    <servlet>
        <servlet-name>TunnelServlet</servlet-name>
        <servlet-class>org.activemq.transport.http.HttpEmbeddedTunnelServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>TunnelServlet</servlet-name>
        <url-pattern>/*</url-pattern>
    </servlet-mapping>

</web-app>
