jruby-activemq 5.5.1-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.md +6 -0
- data/LICENSE +619 -0
- data/README.md +15 -0
- data/Rakefile +34 -0
- data/apache-activemq-5.5.1/LICENSE +619 -0
- data/apache-activemq-5.5.1/NOTICE +85 -0
- data/apache-activemq-5.5.1/README.txt +63 -0
- data/apache-activemq-5.5.1/WebConsole-README.txt +42 -0
- data/apache-activemq-5.5.1/activemq-all-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/bin/activemq +653 -0
- data/apache-activemq-5.5.1/bin/activemq-admin +155 -0
- data/apache-activemq-5.5.1/bin/linux-x86-32/activemq +543 -0
- data/apache-activemq-5.5.1/bin/linux-x86-32/libwrapper.so +0 -0
- data/apache-activemq-5.5.1/bin/linux-x86-32/wrapper +0 -0
- data/apache-activemq-5.5.1/bin/linux-x86-32/wrapper.conf +139 -0
- data/apache-activemq-5.5.1/bin/linux-x86-64/activemq +543 -0
- data/apache-activemq-5.5.1/bin/linux-x86-64/libwrapper.so +0 -0
- data/apache-activemq-5.5.1/bin/linux-x86-64/wrapper +0 -0
- data/apache-activemq-5.5.1/bin/linux-x86-64/wrapper.conf +139 -0
- data/apache-activemq-5.5.1/bin/macosx/activemq +537 -0
- data/apache-activemq-5.5.1/bin/macosx/libwrapper.jnilib +0 -0
- data/apache-activemq-5.5.1/bin/macosx/wrapper +0 -0
- data/apache-activemq-5.5.1/bin/macosx/wrapper.conf +139 -0
- data/apache-activemq-5.5.1/bin/run.jar +0 -0
- data/apache-activemq-5.5.1/bin/wrapper.jar +0 -0
- data/apache-activemq-5.5.1/conf/activemq-command.xml +52 -0
- data/apache-activemq-5.5.1/conf/activemq-demo.xml +289 -0
- data/apache-activemq-5.5.1/conf/activemq-dynamic-network-broker1.xml +108 -0
- data/apache-activemq-5.5.1/conf/activemq-dynamic-network-broker2.xml +109 -0
- data/apache-activemq-5.5.1/conf/activemq-jdbc.xml +98 -0
- data/apache-activemq-5.5.1/conf/activemq-scalability.xml +77 -0
- data/apache-activemq-5.5.1/conf/activemq-security.xml +132 -0
- data/apache-activemq-5.5.1/conf/activemq-specjms.xml +118 -0
- data/apache-activemq-5.5.1/conf/activemq-static-network-broker1.xml +100 -0
- data/apache-activemq-5.5.1/conf/activemq-static-network-broker2.xml +100 -0
- data/apache-activemq-5.5.1/conf/activemq-stomp.xml +133 -0
- data/apache-activemq-5.5.1/conf/activemq-throughput.xml +82 -0
- data/apache-activemq-5.5.1/conf/activemq.xml +136 -0
- data/apache-activemq-5.5.1/conf/broker-localhost.cert +0 -0
- data/apache-activemq-5.5.1/conf/broker.ks +0 -0
- data/apache-activemq-5.5.1/conf/broker.ts +0 -0
- data/apache-activemq-5.5.1/conf/camel.xml +66 -0
- data/apache-activemq-5.5.1/conf/client.ks +0 -0
- data/apache-activemq-5.5.1/conf/client.ts +0 -0
- data/apache-activemq-5.5.1/conf/credentials-enc.properties +22 -0
- data/apache-activemq-5.5.1/conf/credentials.properties +22 -0
- data/apache-activemq-5.5.1/conf/jetty-realm.properties +20 -0
- data/apache-activemq-5.5.1/conf/jetty.xml +112 -0
- data/apache-activemq-5.5.1/conf/jmx.access +18 -0
- data/apache-activemq-5.5.1/conf/jmx.password +18 -0
- data/apache-activemq-5.5.1/conf/log4j.properties +75 -0
- data/apache-activemq-5.5.1/conf/logging.properties +25 -0
- data/apache-activemq-5.5.1/data/activemq.log +0 -0
- data/apache-activemq-5.5.1/docs/index.html +22 -0
- data/apache-activemq-5.5.1/example/build.xml +317 -0
- data/apache-activemq-5.5.1/example/conf/activemq.xml +41 -0
- data/apache-activemq-5.5.1/example/conf/log4j.properties +39 -0
- data/apache-activemq-5.5.1/example/conf/resin-web.xml +35 -0
- data/apache-activemq-5.5.1/example/conf/web.xml +40 -0
- data/apache-activemq-5.5.1/example/perfharness/perfharness-activemq.sh +49 -0
- data/apache-activemq-5.5.1/example/ruby/README.txt +27 -0
- data/apache-activemq-5.5.1/example/ruby/catstomp.rb +49 -0
- data/apache-activemq-5.5.1/example/ruby/listener.rb +51 -0
- data/apache-activemq-5.5.1/example/ruby/publisher.rb +67 -0
- data/apache-activemq-5.5.1/example/ruby/stompcat.rb +50 -0
- data/apache-activemq-5.5.1/example/src/CommandLineSupport.java +120 -0
- data/apache-activemq-5.5.1/example/src/ConsumerTool.java +353 -0
- data/apache-activemq-5.5.1/example/src/EmbeddedBroker.java +41 -0
- data/apache-activemq-5.5.1/example/src/Log4jJMSAppenderExample.java +70 -0
- data/apache-activemq-5.5.1/example/src/ProducerAndConsumerTool.java +51 -0
- data/apache-activemq-5.5.1/example/src/ProducerTool.java +247 -0
- data/apache-activemq-5.5.1/example/src/RequesterTool.java +257 -0
- data/apache-activemq-5.5.1/example/src/StompExample.java +59 -0
- data/apache-activemq-5.5.1/example/src/TopicListener.java +118 -0
- data/apache-activemq-5.5.1/example/src/TopicPublisher.java +205 -0
- data/apache-activemq-5.5.1/example/src/jndi.properties +17 -0
- data/apache-activemq-5.5.1/example/src/log4j-jms.properties +31 -0
- data/apache-activemq-5.5.1/example/transactions/README.txt +40 -0
- data/apache-activemq-5.5.1/example/transactions/build.xml +113 -0
- data/apache-activemq-5.5.1/example/transactions/src/Retailer.java +107 -0
- data/apache-activemq-5.5.1/example/transactions/src/Supplier.java +135 -0
- data/apache-activemq-5.5.1/example/transactions/src/TransactionsDemo.java +47 -0
- data/apache-activemq-5.5.1/example/transactions/src/Vendor.java +302 -0
- data/apache-activemq-5.5.1/lib/a.sh +3 -0
- data/apache-activemq-5.5.1/lib/activation-1.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-camel-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-console-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-core-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-jaas-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-protobuf-1.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-rar.txt +20 -0
- data/apache-activemq-5.5.1/lib/activemq-web-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/camel-core-2.7.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/camel-jetty-2.7.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/camel-jms-2.7.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/camel-spring-2.7.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/geronimo-jms_1.1_spec-1.1.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/geronimo-jta_1.0.1B_spec-1.0.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/jaxb-api-2.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/jaxb-impl-2.1.6.jar +0 -0
- data/apache-activemq-5.5.1/lib/jcl-over-slf4j-1.5.11.jar +0 -0
- data/apache-activemq-5.5.1/lib/kahadb-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activeio-core-3.1.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activemq-jmdns_1.0-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activemq-optional-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activemq-pool-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activemq-spring-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activemq-xmpp-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-beanutils-1.6.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-codec-1.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-collections-3.2.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-dbcp-1.2.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-httpclient-3.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-lang-2.4.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-net-2.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-pool-1.5.4.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/geronimo-j2ee-connector_1.5_spec-2.0.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/jasypt-1.7.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/jettison-1.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/josql-1.5.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/log4j-1.2.14.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/slf4j-log4j12-1.5.11.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-aop-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-asm-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-beans-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-context-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-core-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-expression-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-jms-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-oxm-tiger-1.5.8.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-tx-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/stax2-api-3.0.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/velocity-1.6.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/woodstox-core-asl-4.0.7.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/xbean-spring-3.7.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/xpp3-1.1.4c.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/xstream-1.3.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/slf4j-api-1.5.11.jar +0 -0
- data/apache-activemq-5.5.1/lib/stax-1.2.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/stax-api-1.0.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/commons-management-1.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/core-3.1.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/geronimo-servlet_2.5_spec-1.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/jdom-1.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/jetty-all-server-7.1.6.v20100715.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/jetty-websocket-7.1.6.v20100715.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/jsp-2.1-glassfish-2.1.v20100127.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/jsp-api-2.1-glassfish-2.1.v20100127.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/rome-0.8.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/sitemesh-2.2.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/spring-web-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/spring-webmvc-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/user-guide.html +119 -0
- data/apache-activemq-5.5.1/webapps/admin/404.html +137 -0
- data/apache-activemq-5.5.1/webapps/admin/500.html +138 -0
- data/apache-activemq-5.5.1/webapps/admin/META-INF/LICENSE +1026 -0
- data/apache-activemq-5.5.1/webapps/admin/META-INF/NOTICE +107 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/WebConsoleStarter.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/CopyMessage.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/CreateDestination.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/CreateSubscriber.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/DeleteDestination.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/DeleteJob.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/DeleteMessage.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/DeleteSubscriber.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/MoveMessage.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/PurgeDestination.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/SendMessage.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/filter/ApplicationContextFilter$1.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/filter/ApplicationContextFilter$2.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/filter/ApplicationContextFilter.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/handler/BindingBeanNameUrlHandlerMapping.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/decorators.xml +30 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/dispatcher-servlet.xml +62 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/jspf/headertags.jspf +21 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/jspf/old.jspf +21 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/checkbox.tag +18 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/forEachMapEntry.tag +29 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/option.tag +20 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/short.tag +29 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/text.tag +30 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/tooltip.tag +29 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/uri.tag +18 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/jms/forEachConnection.tag +35 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/jms/forEachMessage.tag +34 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/jms/formatTimestamp.tag +29 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/jms/persistent.tag +27 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/web.xml +187 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-default.xml +26 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-embedded.xml +45 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-invm.xml +41 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-jndi.xml +39 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-properties.xml +39 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-query.xml +25 -0
- data/apache-activemq-5.5.1/webapps/admin/browse.jsp +64 -0
- data/apache-activemq-5.5.1/webapps/admin/connection.jsp +138 -0
- data/apache-activemq-5.5.1/webapps/admin/connections.jsp +85 -0
- data/apache-activemq-5.5.1/webapps/admin/decorators/main.jsp +165 -0
- data/apache-activemq-5.5.1/webapps/admin/decorators/panel.jsp +31 -0
- data/apache-activemq-5.5.1/webapps/admin/decorators/printable.jsp +31 -0
- data/apache-activemq-5.5.1/webapps/admin/graph.jsp +67 -0
- data/apache-activemq-5.5.1/webapps/admin/images/activemq-logo.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/asf-logo.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/big-bullet.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/black-footer-bottom.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/black-footer-left.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/black-footer-right.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/bottom-red-bar.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/checker-bg.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/content-left.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/content-right.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/feed_atom.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/feed_rss.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/left-box-bottom.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/left-box-right.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/left-box-top.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/oval-arrow.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/right-box-bottom.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/right-box-left.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/right-box-top.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/small-bullet-gray.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/small-bullet-red.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/spacer.gif +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/top-red-bar.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/white-header-left.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/white-header-right.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/white-header-top.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/index.jsp +65 -0
- data/apache-activemq-5.5.1/webapps/admin/js/common.js +121 -0
- data/apache-activemq-5.5.1/webapps/admin/js/css.js +145 -0
- data/apache-activemq-5.5.1/webapps/admin/js/mochi/MochiKit.js +4804 -0
- data/apache-activemq-5.5.1/webapps/admin/js/mochi/__package__.js +14 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/Base.js +332 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/Canvas.js +707 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/Layout.js +588 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/SVG.js +677 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/SweetCanvas.js +281 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/SweetSVG.js +196 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/dummy.svg +15 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/iecanvas.htc +389 -0
- data/apache-activemq-5.5.1/webapps/admin/js/prettify.js +1424 -0
- data/apache-activemq-5.5.1/webapps/admin/js/standardista-table-sorting.js +434 -0
- data/apache-activemq-5.5.1/webapps/admin/message.jsp +185 -0
- data/apache-activemq-5.5.1/webapps/admin/network.jsp +52 -0
- data/apache-activemq-5.5.1/webapps/admin/queueConsumers.jsp +79 -0
- data/apache-activemq-5.5.1/webapps/admin/queueGraph.jsp +68 -0
- data/apache-activemq-5.5.1/webapps/admin/queues.jsp +78 -0
- data/apache-activemq-5.5.1/webapps/admin/scheduled.jsp +67 -0
- data/apache-activemq-5.5.1/webapps/admin/send.jsp +173 -0
- data/apache-activemq-5.5.1/webapps/admin/styles/prettify.css +44 -0
- data/apache-activemq-5.5.1/webapps/admin/styles/site.css +206 -0
- data/apache-activemq-5.5.1/webapps/admin/styles/sorttable.css +70 -0
- data/apache-activemq-5.5.1/webapps/admin/styles/type-settings.css +177 -0
- data/apache-activemq-5.5.1/webapps/admin/subscribers.jsp +158 -0
- data/apache-activemq-5.5.1/webapps/admin/test/dummy.jsp +52 -0
- data/apache-activemq-5.5.1/webapps/admin/test/index.jsp +84 -0
- data/apache-activemq-5.5.1/webapps/admin/test/systemProperties.jsp +53 -0
- data/apache-activemq-5.5.1/webapps/admin/topics.jsp +66 -0
- data/apache-activemq-5.5.1/webapps/admin/xml/queues.jsp +34 -0
- data/apache-activemq-5.5.1/webapps/admin/xml/topics.jsp +29 -0
- data/apache-activemq-5.5.1/webapps/demo/META-INF/LICENSE +494 -0
- data/apache-activemq-5.5.1/webapps/demo/META-INF/NOTICE +82 -0
- data/apache-activemq-5.5.1/webapps/demo/WEB-INF/web.xml +111 -0
- data/apache-activemq-5.5.1/webapps/demo/chat.css +76 -0
- data/apache-activemq-5.5.1/webapps/demo/chat.html +219 -0
- data/apache-activemq-5.5.1/webapps/demo/index.html +181 -0
- data/apache-activemq-5.5.1/webapps/demo/js/amq.js +307 -0
- data/apache-activemq-5.5.1/webapps/demo/js/amq_dojo_adapter.js +84 -0
- data/apache-activemq-5.5.1/webapps/demo/js/amq_jquery_adapter.js +88 -0
- data/apache-activemq-5.5.1/webapps/demo/js/amq_prototype_adapter.js +84 -0
- data/apache-activemq-5.5.1/webapps/demo/js/chat.js +209 -0
- data/apache-activemq-5.5.1/webapps/demo/js/dojo.js +16 -0
- data/apache-activemq-5.5.1/webapps/demo/js/jquery-1.4.2.min.js +154 -0
- data/apache-activemq-5.5.1/webapps/demo/js/prototype.js +4874 -0
- data/apache-activemq-5.5.1/webapps/demo/portfolio/portfolio.html +87 -0
- data/apache-activemq-5.5.1/webapps/demo/portfolio/portfolio.js +91 -0
- data/apache-activemq-5.5.1/webapps/demo/sandbox/index.html +31 -0
- data/apache-activemq-5.5.1/webapps/demo/sandbox/portfolio.html +93 -0
- data/apache-activemq-5.5.1/webapps/demo/sandbox/portfolio.js +49 -0
- data/apache-activemq-5.5.1/webapps/demo/sandbox/util.js +52 -0
- data/apache-activemq-5.5.1/webapps/demo/sandbox/webmq.js +149 -0
- data/apache-activemq-5.5.1/webapps/demo/send.html +51 -0
- data/apache-activemq-5.5.1/webapps/demo/style.css +440 -0
- data/apache-activemq-5.5.1/webapps/demo/test/amq_test.html +311 -0
- data/apache-activemq-5.5.1/webapps/demo/test/assets/README +4 -0
- data/apache-activemq-5.5.1/webapps/demo/test/assets/jsunittest.js +1017 -0
- data/apache-activemq-5.5.1/webapps/demo/test/assets/unittest.css +54 -0
- data/apache-activemq-5.5.1/webapps/favicon.ico +0 -0
- data/apache-activemq-5.5.1/webapps/fileserver/META-INF/LICENSE +203 -0
- data/apache-activemq-5.5.1/webapps/fileserver/META-INF/NOTICE +5 -0
- data/apache-activemq-5.5.1/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/FilenameGuardFilter$GuardedHttpServletRequest.class +0 -0
- data/apache-activemq-5.5.1/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/FilenameGuardFilter.class +0 -0
- data/apache-activemq-5.5.1/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/IOHelper.class +0 -0
- data/apache-activemq-5.5.1/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/RestFilter.class +0 -0
- data/apache-activemq-5.5.1/webapps/fileserver/WEB-INF/web.xml +56 -0
- data/apache-activemq-5.5.1/webapps/fileserver/index.html +30 -0
- data/apache-activemq-5.5.1/webapps/index.html +145 -0
- data/apache-activemq-5.5.1/webapps/styles/site.css +206 -0
- data/apache-activemq-5.5.1/webapps/styles/type-settings.css +177 -0
- data/lib/activemq.rb +11 -0
- metadata +382 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
|
4
|
+
this work for additional information regarding copyright ownership.
|
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
|
7
|
+
the License. You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
|
16
|
+
-->
|
|
17
|
+
<!--
|
|
18
|
+
Tune ActiveMQ broker for high throughput of messages
|
|
19
|
+
Be sure to make necessary changes in your producer and consumer, since there you can make the most notable difference
|
|
20
|
+
|
|
21
|
+
For more information, see:
|
|
22
|
+
http://activemq.apache.org/performance-tuning.html
|
|
23
|
+
|
|
24
|
+
To run ActiveMQ with this configuration add xbean:conf/activemq-throughput.xml to your command
|
|
25
|
+
e.g. $ bin/activemq console xbean:conf/activemq-throughput.xml
|
|
26
|
+
-->
|
|
27
|
+
<beans
|
|
28
|
+
xmlns="http://www.springframework.org/schema/beans"
|
|
29
|
+
xmlns:amq="http://activemq.apache.org/schema/core"
|
|
30
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
31
|
+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
|
32
|
+
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
|
|
33
|
+
|
|
34
|
+
<!-- Allows us to use system properties as variables in this configuration file -->
|
|
35
|
+
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
|
36
|
+
|
|
37
|
+
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.base}/data" useJmx="false" advisorySupport="false">
|
|
38
|
+
|
|
39
|
+
<!--
|
|
40
|
+
Use VM cursor
|
|
41
|
+
For more information, see:
|
|
42
|
+
http://activemq.apache.org/message-cursors.html
|
|
43
|
+
-->
|
|
44
|
+
<destinationPolicy>
|
|
45
|
+
<policyMap>
|
|
46
|
+
<policyEntries>
|
|
47
|
+
<policyEntry topic=">" producerFlowControl="true" memoryLimit="1mb">
|
|
48
|
+
<pendingSubscriberPolicy>
|
|
49
|
+
<vmCursor />
|
|
50
|
+
</pendingSubscriberPolicy>
|
|
51
|
+
</policyEntry>
|
|
52
|
+
<policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb">
|
|
53
|
+
<pendingQueuePolicy>
|
|
54
|
+
<vmQueueCursor/>
|
|
55
|
+
</pendingQueuePolicy>
|
|
56
|
+
</policyEntry>
|
|
57
|
+
</policyEntries>
|
|
58
|
+
</policyMap>
|
|
59
|
+
</destinationPolicy>
|
|
60
|
+
|
|
61
|
+
<!--
|
|
62
|
+
Use KahaDB for persistence
|
|
63
|
+
Tune it a bit so we minimize IO operations
|
|
64
|
+
For more information, see:
|
|
65
|
+
http://activemq.apache.org/kahadb.html
|
|
66
|
+
-->
|
|
67
|
+
<persistenceAdapter>
|
|
68
|
+
<kahaDB directory="${activemq.base}/data/kahadb" enableJournalDiskSyncs="false" indexWriteBatchSize="10000" indexCacheSize="1000"/>
|
|
69
|
+
</persistenceAdapter>
|
|
70
|
+
|
|
71
|
+
<!--
|
|
72
|
+
Use TCP transport
|
|
73
|
+
For more information, see:
|
|
74
|
+
http://activemq.apache.org/configuring-transports.html
|
|
75
|
+
-->
|
|
76
|
+
<transportConnectors>
|
|
77
|
+
<transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
|
|
78
|
+
</transportConnectors>
|
|
79
|
+
|
|
80
|
+
</broker>
|
|
81
|
+
|
|
82
|
+
</beans>
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
|
4
|
+
this work for additional information regarding copyright ownership.
|
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
|
7
|
+
the License. You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
|
16
|
+
-->
|
|
17
|
+
<!-- START SNIPPET: example -->
|
|
18
|
+
<beans
|
|
19
|
+
xmlns="http://www.springframework.org/schema/beans"
|
|
20
|
+
xmlns:amq="http://activemq.apache.org/schema/core"
|
|
21
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
22
|
+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
|
23
|
+
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
|
|
24
|
+
|
|
25
|
+
<!-- Allows us to use system properties as variables in this configuration file -->
|
|
26
|
+
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
|
27
|
+
<property name="locations">
|
|
28
|
+
<value>file:${activemq.base}/conf/credentials.properties</value>
|
|
29
|
+
</property>
|
|
30
|
+
</bean>
|
|
31
|
+
|
|
32
|
+
<!--
|
|
33
|
+
The <broker> element is used to configure the ActiveMQ broker.
|
|
34
|
+
-->
|
|
35
|
+
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.base}/data" destroyApplicationContextOnStop="true">
|
|
36
|
+
|
|
37
|
+
<!--
|
|
38
|
+
For better performances use VM cursor and small memory limit.
|
|
39
|
+
For more information, see:
|
|
40
|
+
|
|
41
|
+
http://activemq.apache.org/message-cursors.html
|
|
42
|
+
|
|
43
|
+
Also, if your producer is "hanging", it's probably due to producer flow control.
|
|
44
|
+
For more information, see:
|
|
45
|
+
http://activemq.apache.org/producer-flow-control.html
|
|
46
|
+
-->
|
|
47
|
+
|
|
48
|
+
<destinationPolicy>
|
|
49
|
+
<policyMap>
|
|
50
|
+
<policyEntries>
|
|
51
|
+
<policyEntry topic=">" producerFlowControl="true" memoryLimit="1mb">
|
|
52
|
+
<pendingSubscriberPolicy>
|
|
53
|
+
<vmCursor />
|
|
54
|
+
</pendingSubscriberPolicy>
|
|
55
|
+
</policyEntry>
|
|
56
|
+
<policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb">
|
|
57
|
+
<!-- Use VM cursor for better latency
|
|
58
|
+
For more information, see:
|
|
59
|
+
|
|
60
|
+
http://activemq.apache.org/message-cursors.html
|
|
61
|
+
|
|
62
|
+
<pendingQueuePolicy>
|
|
63
|
+
<vmQueueCursor/>
|
|
64
|
+
</pendingQueuePolicy>
|
|
65
|
+
-->
|
|
66
|
+
</policyEntry>
|
|
67
|
+
</policyEntries>
|
|
68
|
+
</policyMap>
|
|
69
|
+
</destinationPolicy>
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
<!--
|
|
73
|
+
The managementContext is used to configure how ActiveMQ is exposed in
|
|
74
|
+
JMX. By default, ActiveMQ uses the MBean server that is started by
|
|
75
|
+
the JVM. For more information, see:
|
|
76
|
+
|
|
77
|
+
http://activemq.apache.org/jmx.html
|
|
78
|
+
-->
|
|
79
|
+
<managementContext>
|
|
80
|
+
<managementContext createConnector="false"/>
|
|
81
|
+
</managementContext>
|
|
82
|
+
|
|
83
|
+
<!--
|
|
84
|
+
Configure message persistence for the broker. The default persistence
|
|
85
|
+
mechanism is the KahaDB store (identified by the kahaDB tag).
|
|
86
|
+
For more information, see:
|
|
87
|
+
|
|
88
|
+
http://activemq.apache.org/persistence.html
|
|
89
|
+
-->
|
|
90
|
+
<persistenceAdapter>
|
|
91
|
+
<kahaDB directory="${activemq.base}/data/kahadb"/>
|
|
92
|
+
</persistenceAdapter>
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
<!--
|
|
96
|
+
The systemUsage controls the maximum amount of space the broker will
|
|
97
|
+
use before slowing down producers. For more information, see:
|
|
98
|
+
|
|
99
|
+
http://activemq.apache.org/producer-flow-control.html
|
|
100
|
+
|
|
101
|
+
<systemUsage>
|
|
102
|
+
<systemUsage>
|
|
103
|
+
<memoryUsage>
|
|
104
|
+
<memoryUsage limit="20 mb"/>
|
|
105
|
+
</memoryUsage>
|
|
106
|
+
<storeUsage>
|
|
107
|
+
<storeUsage limit="1 gb"/>
|
|
108
|
+
</storeUsage>
|
|
109
|
+
<tempUsage>
|
|
110
|
+
<tempUsage limit="100 mb"/>
|
|
111
|
+
</tempUsage>
|
|
112
|
+
</systemUsage>
|
|
113
|
+
</systemUsage>
|
|
114
|
+
-->
|
|
115
|
+
|
|
116
|
+
<!--
|
|
117
|
+
The transport connectors expose ActiveMQ over a given protocol to
|
|
118
|
+
clients and other brokers. For more information, see:
|
|
119
|
+
|
|
120
|
+
http://activemq.apache.org/configuring-transports.html
|
|
121
|
+
-->
|
|
122
|
+
<transportConnectors>
|
|
123
|
+
<transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
|
|
124
|
+
</transportConnectors>
|
|
125
|
+
|
|
126
|
+
</broker>
|
|
127
|
+
|
|
128
|
+
<!--
|
|
129
|
+
Enable web consoles, REST and Ajax APIs and demos
|
|
130
|
+
|
|
131
|
+
Take a look at ${ACTIVEMQ_HOME}/conf/jetty.xml for more details
|
|
132
|
+
-->
|
|
133
|
+
<import resource="jetty.xml"/>
|
|
134
|
+
|
|
135
|
+
</beans>
|
|
136
|
+
<!-- END SNIPPET: example -->
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
|
4
|
+
this work for additional information regarding copyright ownership.
|
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
|
7
|
+
the License. You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
|
16
|
+
-->
|
|
17
|
+
<!--
|
|
18
|
+
|
|
19
|
+
Lets deploy some Enterprise Integration Patterns inside the ActiveMQ Message Broker
|
|
20
|
+
For more information, see:
|
|
21
|
+
|
|
22
|
+
http://camel.apache.org
|
|
23
|
+
|
|
24
|
+
Include this file in your configuration to enable Camel
|
|
25
|
+
|
|
26
|
+
e.g. <import resource="camel.xml"/>
|
|
27
|
+
|
|
28
|
+
-->
|
|
29
|
+
<beans
|
|
30
|
+
xmlns="http://www.springframework.org/schema/beans"
|
|
31
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
32
|
+
xsi:schemaLocation="http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
|
|
33
|
+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
|
34
|
+
|
|
35
|
+
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
|
|
36
|
+
|
|
37
|
+
<!-- You can use a <packages> element for each root package to search for Java routes -->
|
|
38
|
+
<packageScan>
|
|
39
|
+
<package>org.foo.bar</package>
|
|
40
|
+
</packageScan>
|
|
41
|
+
|
|
42
|
+
<!-- You can use Spring XML syntax to define the routes here using the <route> element -->
|
|
43
|
+
<route>
|
|
44
|
+
<description>Example Camel Route</description>
|
|
45
|
+
<from uri="activemq:example.A"/>
|
|
46
|
+
<to uri="activemq:example.B"/>
|
|
47
|
+
</route>
|
|
48
|
+
</camelContext>
|
|
49
|
+
|
|
50
|
+
<!--
|
|
51
|
+
Lets configure some Camel endpoints
|
|
52
|
+
|
|
53
|
+
http://camel.apache.org/components.html
|
|
54
|
+
-->
|
|
55
|
+
|
|
56
|
+
<!-- configure the camel activemq component to use the current broker -->
|
|
57
|
+
<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent" >
|
|
58
|
+
<property name="connectionFactory">
|
|
59
|
+
<bean class="org.apache.activemq.ActiveMQConnectionFactory">
|
|
60
|
+
<property name="brokerURL" value="vm://localhost?create=false&waitForStart=10000" />
|
|
61
|
+
<property name="userName" value="${activemq.username}"/>
|
|
62
|
+
<property name="password" value="${activemq.password}"/>
|
|
63
|
+
</bean>
|
|
64
|
+
</property>
|
|
65
|
+
</bean>
|
|
66
|
+
</beans>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
## ---------------------------------------------------------------------------
|
|
2
|
+
## Licensed to the Apache Software Foundation (ASF) under one or more
|
|
3
|
+
## contributor license agreements. See the NOTICE file distributed with
|
|
4
|
+
## this work for additional information regarding copyright ownership.
|
|
5
|
+
## The ASF licenses this file to You under the Apache License, Version 2.0
|
|
6
|
+
## (the "License"); you may not use this file except in compliance with
|
|
7
|
+
## the License. You may obtain a copy of the License at
|
|
8
|
+
##
|
|
9
|
+
## http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
##
|
|
11
|
+
## Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
## distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
## See the License for the specific language governing permissions and
|
|
15
|
+
## limitations under the License.
|
|
16
|
+
## ---------------------------------------------------------------------------
|
|
17
|
+
|
|
18
|
+
# Defines credentials that will be used by components (like web console) to access the broker
|
|
19
|
+
|
|
20
|
+
activemq.username=system
|
|
21
|
+
activemq.password=ENC(mYRkg+4Q4hua1kvpCCI2hg==)
|
|
22
|
+
guest.password=ENC(Cf3Jf3tM+UrSOoaKU50od5CuBa8rxjoL)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
## ---------------------------------------------------------------------------
|
|
2
|
+
## Licensed to the Apache Software Foundation (ASF) under one or more
|
|
3
|
+
## contributor license agreements. See the NOTICE file distributed with
|
|
4
|
+
## this work for additional information regarding copyright ownership.
|
|
5
|
+
## The ASF licenses this file to You under the Apache License, Version 2.0
|
|
6
|
+
## (the "License"); you may not use this file except in compliance with
|
|
7
|
+
## the License. You may obtain a copy of the License at
|
|
8
|
+
##
|
|
9
|
+
## http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
##
|
|
11
|
+
## Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
## distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
## See the License for the specific language governing permissions and
|
|
15
|
+
## limitations under the License.
|
|
16
|
+
## ---------------------------------------------------------------------------
|
|
17
|
+
|
|
18
|
+
# Defines credentials that will be used by components (like web console) to access the broker
|
|
19
|
+
|
|
20
|
+
activemq.username=system
|
|
21
|
+
activemq.password=manager
|
|
22
|
+
guest.password=password
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
## ---------------------------------------------------------------------------
|
|
2
|
+
## Licensed to the Apache Software Foundation (ASF) under one or more
|
|
3
|
+
## contributor license agreements. See the NOTICE file distributed with
|
|
4
|
+
## this work for additional information regarding copyright ownership.
|
|
5
|
+
## The ASF licenses this file to You under the Apache License, Version 2.0
|
|
6
|
+
## (the "License"); you may not use this file except in compliance with
|
|
7
|
+
## the License. You may obtain a copy of the License at
|
|
8
|
+
##
|
|
9
|
+
## http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
##
|
|
11
|
+
## Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
## distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
## See the License for the specific language governing permissions and
|
|
15
|
+
## limitations under the License.
|
|
16
|
+
## ---------------------------------------------------------------------------
|
|
17
|
+
|
|
18
|
+
# Defines users that can access the web (console, demo, etc.)
|
|
19
|
+
# username: password [,rolename ...]
|
|
20
|
+
admin: admin, admin
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
|
|
2
|
+
<!--
|
|
3
|
+
Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
|
4
|
+
license agreements. See the NOTICE file distributed with this work for additional
|
|
5
|
+
information regarding copyright ownership. The ASF licenses this file to You under
|
|
6
|
+
the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
7
|
+
compliance with the License. You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or
|
|
10
|
+
agreed to in writing, software distributed under the License is distributed on an
|
|
11
|
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
12
|
+
implied. See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
|
14
|
+
-->
|
|
15
|
+
<!--
|
|
16
|
+
An embedded servlet engine for serving up the Admin consoles, REST and Ajax APIs and
|
|
17
|
+
some demos Include this file in your configuration to enable ActiveMQ web components
|
|
18
|
+
e.g. <import resource="jetty.xml"/>
|
|
19
|
+
-->
|
|
20
|
+
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
21
|
+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
|
22
|
+
|
|
23
|
+
<bean id="securityLoginService" class="org.eclipse.jetty.security.HashLoginService">
|
|
24
|
+
<property name="name" value="ActiveMQRealm" />
|
|
25
|
+
<property name="config" value="${activemq.base}/conf/jetty-realm.properties" />
|
|
26
|
+
</bean>
|
|
27
|
+
|
|
28
|
+
<bean id="securityConstraint" class="org.eclipse.jetty.http.security.Constraint">
|
|
29
|
+
<property name="name" value="BASIC" />
|
|
30
|
+
<property name="roles" value="admin" />
|
|
31
|
+
<property name="authenticate" value="false" />
|
|
32
|
+
</bean>
|
|
33
|
+
<bean id="securityConstraintMapping" class="org.eclipse.jetty.security.ConstraintMapping">
|
|
34
|
+
<property name="constraint" ref="securityConstraint" />
|
|
35
|
+
<property name="pathSpec" value="/*" />
|
|
36
|
+
</bean>
|
|
37
|
+
<bean id="securityHandler" class="org.eclipse.jetty.security.ConstraintSecurityHandler">
|
|
38
|
+
<property name="loginService" ref="securityLoginService" />
|
|
39
|
+
<property name="authenticator">
|
|
40
|
+
<bean class="org.eclipse.jetty.security.authentication.BasicAuthenticator" />
|
|
41
|
+
</property>
|
|
42
|
+
<property name="constraintMappings">
|
|
43
|
+
<list>
|
|
44
|
+
<ref bean="securityConstraintMapping" />
|
|
45
|
+
</list>
|
|
46
|
+
</property>
|
|
47
|
+
<property name="handler">
|
|
48
|
+
<bean id="sec" class="org.eclipse.jetty.server.handler.HandlerCollection">
|
|
49
|
+
<property name="handlers">
|
|
50
|
+
<list>
|
|
51
|
+
<bean class="org.eclipse.jetty.webapp.WebAppContext">
|
|
52
|
+
<property name="contextPath" value="/admin" />
|
|
53
|
+
<property name="resourceBase" value="${activemq.home}/webapps/admin" />
|
|
54
|
+
<property name="logUrlOnStart" value="true" />
|
|
55
|
+
</bean>
|
|
56
|
+
<bean class="org.eclipse.jetty.webapp.WebAppContext">
|
|
57
|
+
<property name="contextPath" value="/demo" />
|
|
58
|
+
<property name="resourceBase" value="${activemq.home}/webapps/demo" />
|
|
59
|
+
<property name="logUrlOnStart" value="true" />
|
|
60
|
+
</bean>
|
|
61
|
+
<bean class="org.eclipse.jetty.webapp.WebAppContext">
|
|
62
|
+
<property name="contextPath" value="/fileserver" />
|
|
63
|
+
<property name="resourceBase" value="${activemq.home}/webapps/fileserver" />
|
|
64
|
+
<property name="logUrlOnStart" value="true" />
|
|
65
|
+
<property name="parentLoaderPriority" value="true" />
|
|
66
|
+
</bean>
|
|
67
|
+
<bean class="org.eclipse.jetty.server.handler.ResourceHandler">
|
|
68
|
+
<property name="directoriesListed" value="false" />
|
|
69
|
+
<property name="welcomeFiles">
|
|
70
|
+
<list>
|
|
71
|
+
<value>index.html</value>
|
|
72
|
+
</list>
|
|
73
|
+
</property>
|
|
74
|
+
<property name="resourceBase" value="${activemq.home}/webapps/" />
|
|
75
|
+
</bean>
|
|
76
|
+
<bean id="defaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler">
|
|
77
|
+
<property name="serveIcon" value="false" />
|
|
78
|
+
</bean>
|
|
79
|
+
</list>
|
|
80
|
+
</property>
|
|
81
|
+
</bean>
|
|
82
|
+
</property>
|
|
83
|
+
</bean>
|
|
84
|
+
|
|
85
|
+
<bean id="contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection">
|
|
86
|
+
</bean>
|
|
87
|
+
|
|
88
|
+
<bean id="Server" class="org.eclipse.jetty.server.Server" init-method="start"
|
|
89
|
+
destroy-method="stop">
|
|
90
|
+
|
|
91
|
+
<property name="connectors">
|
|
92
|
+
<list>
|
|
93
|
+
<bean id="Connector" class="org.eclipse.jetty.server.nio.SelectChannelConnector">
|
|
94
|
+
<property name="port" value="8161" />
|
|
95
|
+
</bean>
|
|
96
|
+
</list>
|
|
97
|
+
</property>
|
|
98
|
+
|
|
99
|
+
<property name="handler">
|
|
100
|
+
<bean id="handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
|
|
101
|
+
<property name="handlers">
|
|
102
|
+
<list>
|
|
103
|
+
<ref bean="contexts" />
|
|
104
|
+
<ref bean="securityHandler" />
|
|
105
|
+
</list>
|
|
106
|
+
</property>
|
|
107
|
+
</bean>
|
|
108
|
+
</property>
|
|
109
|
+
|
|
110
|
+
</bean>
|
|
111
|
+
|
|
112
|
+
</beans>
|