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,118 @@
|
|
|
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
|
+
<beans
|
|
18
|
+
xmlns="http://www.springframework.org/schema/beans"
|
|
19
|
+
xmlns:amq="http://activemq.apache.org/schema/core"
|
|
20
|
+
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-2.0.xsd
|
|
22
|
+
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
|
|
23
|
+
|
|
24
|
+
<!-- Allows us to use system properties as variables in this configuration file -->
|
|
25
|
+
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
|
|
26
|
+
|
|
27
|
+
<!--
|
|
28
|
+
The <broker> element is used to configure the ActiveMQ broker.
|
|
29
|
+
|
|
30
|
+
advisories incurr a hit with every add connection|destination|producer|consumer
|
|
31
|
+
- client side: providerUrl = tcp://localhost:61616?jms.watchTopicAdvisories=false
|
|
32
|
+
statistics have a small impact on concurrency so disable
|
|
33
|
+
schedualer has a small impact as it checks for the presence three properties on each message
|
|
34
|
+
jmx adds a bunch of wrapper classes
|
|
35
|
+
|
|
36
|
+
ACTIVEMQ_OPTS_MEMORY="-Xmx11g -Xms6g -Dorg.apache.activemq.UseDedicatedTaskRunner=false -Djava.util.logging.config.file=logging.properties -XX:+UseLargePages"
|
|
37
|
+
-->
|
|
38
|
+
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost"
|
|
39
|
+
dataDirectory="${activemq.base}/data" destroyApplicationContextOnStop="true" deleteAllMessagesOnStartup="true"
|
|
40
|
+
advisorySupport="false"
|
|
41
|
+
enableStatistics="false"
|
|
42
|
+
schedulerSupport="false"
|
|
43
|
+
useJmx="false">
|
|
44
|
+
|
|
45
|
+
<destinationPolicy>
|
|
46
|
+
<policyMap>
|
|
47
|
+
<policyEntries>
|
|
48
|
+
<!--
|
|
49
|
+
producerFlowControll thread unnecessary with no memory limits
|
|
50
|
+
with no failover, no need to suppress duplicates so audit can be disabled
|
|
51
|
+
message expiry thread unnecessary as normal dispatch will handle expiry
|
|
52
|
+
-->
|
|
53
|
+
<policyEntry topic=">" producerFlowControl="false" enableAudit="false" expireMessagesPeriod="0">
|
|
54
|
+
<pendingSubscriberPolicy>
|
|
55
|
+
<!-- keep all references in memory -->
|
|
56
|
+
<vmCursor />
|
|
57
|
+
</pendingSubscriberPolicy>
|
|
58
|
+
</policyEntry>
|
|
59
|
+
<policyEntry queue=">" producerFlowControl="false" enableAudit="false" expireMessagesPeriod="0">
|
|
60
|
+
<pendingQueuePolicy>
|
|
61
|
+
<!-- keep all references in memory -->
|
|
62
|
+
<vmQueueCursor/>
|
|
63
|
+
</pendingQueuePolicy>
|
|
64
|
+
|
|
65
|
+
</policyEntry>
|
|
66
|
+
</policyEntries>
|
|
67
|
+
</policyMap>
|
|
68
|
+
</destinationPolicy>
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
<!--
|
|
72
|
+
The managementContext is used to configure how ActiveMQ is exposed in
|
|
73
|
+
JMX. By default, ActiveMQ uses the MBean server that is started by
|
|
74
|
+
the JVM. For more information, see:
|
|
75
|
+
|
|
76
|
+
http://activemq.apache.org/jmx.html
|
|
77
|
+
-->
|
|
78
|
+
<managementContext>
|
|
79
|
+
<managementContext createConnector="false"/>
|
|
80
|
+
</managementContext>
|
|
81
|
+
|
|
82
|
+
<persistenceAdapter>
|
|
83
|
+
<!-- defer cleanup/checkpoint -->
|
|
84
|
+
<!-- write in max 62k chunks to max disk io bandwith -->
|
|
85
|
+
<!-- use small number of data files (seldom switch) -->
|
|
86
|
+
<!-- keep index off the disk (in cache) -->
|
|
87
|
+
|
|
88
|
+
<kahaDB directory="${activemq.base}/data/kahadb"
|
|
89
|
+
cleanupInterval="300000" checkpointInterval="50000"
|
|
90
|
+
journalMaxWriteBatchSize="62k"
|
|
91
|
+
journalMaxFileLength="1g"
|
|
92
|
+
indexCacheSize="100000" indexWriteBatchSize="100000"
|
|
93
|
+
/>
|
|
94
|
+
</persistenceAdapter>
|
|
95
|
+
|
|
96
|
+
<!-- ensure there is loads or memory for destinations -->
|
|
97
|
+
<systemUsage>
|
|
98
|
+
<systemUsage>
|
|
99
|
+
<memoryUsage>
|
|
100
|
+
<memoryUsage limit="2 g"/>
|
|
101
|
+
</memoryUsage>
|
|
102
|
+
</systemUsage>
|
|
103
|
+
</systemUsage>
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
<!--
|
|
107
|
+
The transport connectors expose ActiveMQ over a given protocol to
|
|
108
|
+
clients and other brokers. For more information, see:
|
|
109
|
+
|
|
110
|
+
http://activemq.apache.org/configuring-transports.html
|
|
111
|
+
-->
|
|
112
|
+
<transportConnectors>
|
|
113
|
+
<transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
|
|
114
|
+
</transportConnectors>
|
|
115
|
+
|
|
116
|
+
</broker>
|
|
117
|
+
|
|
118
|
+
</beans>
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
Create a static network of brokers
|
|
19
|
+
For more information, see:
|
|
20
|
+
|
|
21
|
+
http://activemq.apache.org/networks-of-brokers.html
|
|
22
|
+
|
|
23
|
+
To run this example network of ActiveMQ brokers run
|
|
24
|
+
|
|
25
|
+
$ bin/activemq console xbean:conf/activemq-static-network-broker1.xml
|
|
26
|
+
|
|
27
|
+
and
|
|
28
|
+
|
|
29
|
+
$ bin/activemq console xbean:conf/activemq-static-network-broker2.xml
|
|
30
|
+
|
|
31
|
+
in separate consoles
|
|
32
|
+
-->
|
|
33
|
+
<beans
|
|
34
|
+
xmlns="http://www.springframework.org/schema/beans"
|
|
35
|
+
xmlns:amq="http://activemq.apache.org/schema/core"
|
|
36
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
37
|
+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
|
38
|
+
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
|
|
39
|
+
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">
|
|
40
|
+
|
|
41
|
+
<!-- Allows us to use system properties as variables in this configuration file -->
|
|
42
|
+
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
|
43
|
+
|
|
44
|
+
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="static-broker1" dataDirectory="${activemq.base}/data">
|
|
45
|
+
|
|
46
|
+
<!-- Destination specific policies using destination names or wildcards -->
|
|
47
|
+
<destinationPolicy>
|
|
48
|
+
<policyMap>
|
|
49
|
+
<policyEntries>
|
|
50
|
+
<policyEntry queue=">" producerFlowControl="true" memoryLimit="20mb">
|
|
51
|
+
<deadLetterStrategy>
|
|
52
|
+
<individualDeadLetterStrategy queuePrefix="DLQ." useQueueForQueueMessages="true" />
|
|
53
|
+
</deadLetterStrategy>
|
|
54
|
+
</policyEntry>
|
|
55
|
+
<policyEntry topic=">" producerFlowControl="true" memoryLimit="20mb">
|
|
56
|
+
</policyEntry>
|
|
57
|
+
</policyEntries>
|
|
58
|
+
</policyMap>
|
|
59
|
+
</destinationPolicy>
|
|
60
|
+
|
|
61
|
+
<!-- Use the following to configure how ActiveMQ is exposed in JMX -->
|
|
62
|
+
<managementContext>
|
|
63
|
+
<managementContext createConnector="true"/>
|
|
64
|
+
</managementContext>
|
|
65
|
+
|
|
66
|
+
<!--
|
|
67
|
+
The store and forward broker networks ActiveMQ will listen to.
|
|
68
|
+
We'll leave it empty as duplex network will be configured by another broker
|
|
69
|
+
Take a look at activemq-static_network-broker2.xml for example
|
|
70
|
+
-->
|
|
71
|
+
<networkConnectors>
|
|
72
|
+
</networkConnectors>
|
|
73
|
+
|
|
74
|
+
<persistenceAdapter>
|
|
75
|
+
<kahaDB directory="${activemq.base}/data/static-broker1/kahadb" />
|
|
76
|
+
</persistenceAdapter>
|
|
77
|
+
|
|
78
|
+
<!-- The maximum amount of space the broker will use before slowing down producers -->
|
|
79
|
+
<systemUsage>
|
|
80
|
+
<systemUsage>
|
|
81
|
+
<memoryUsage>
|
|
82
|
+
<memoryUsage limit="20 mb"/>
|
|
83
|
+
</memoryUsage>
|
|
84
|
+
<storeUsage>
|
|
85
|
+
<storeUsage limit="1 gb" name="foo"/>
|
|
86
|
+
</storeUsage>
|
|
87
|
+
<tempUsage>
|
|
88
|
+
<tempUsage limit="100 mb"/>
|
|
89
|
+
</tempUsage>
|
|
90
|
+
</systemUsage>
|
|
91
|
+
</systemUsage>
|
|
92
|
+
|
|
93
|
+
<!-- The transport connectors ActiveMQ will listen to -->
|
|
94
|
+
<transportConnectors>
|
|
95
|
+
<transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
|
|
96
|
+
</transportConnectors>
|
|
97
|
+
|
|
98
|
+
</broker>
|
|
99
|
+
|
|
100
|
+
</beans>
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
Create a static network of brokers
|
|
19
|
+
For more information, see:
|
|
20
|
+
|
|
21
|
+
http://activemq.apache.org/networks-of-brokers.html
|
|
22
|
+
|
|
23
|
+
To run this example network of ActiveMQ brokers run
|
|
24
|
+
|
|
25
|
+
$ bin/activemq console xbean:conf/activemq-static-network-broker1.xml
|
|
26
|
+
|
|
27
|
+
and
|
|
28
|
+
|
|
29
|
+
$ bin/activemq console xbean:conf/activemq-static-network-broker2.xml
|
|
30
|
+
|
|
31
|
+
in separate consoles
|
|
32
|
+
-->
|
|
33
|
+
<beans
|
|
34
|
+
xmlns="http://www.springframework.org/schema/beans"
|
|
35
|
+
xmlns:amq="http://activemq.apache.org/schema/core"
|
|
36
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
37
|
+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
|
38
|
+
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
|
|
39
|
+
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">
|
|
40
|
+
|
|
41
|
+
<!-- Allows us to use system properties as variables in this configuration file -->
|
|
42
|
+
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
|
43
|
+
|
|
44
|
+
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="static-broker1" dataDirectory="${activemq.base}/data">
|
|
45
|
+
|
|
46
|
+
<!-- Destination specific policies using destination names or wildcards -->
|
|
47
|
+
<destinationPolicy>
|
|
48
|
+
<policyMap>
|
|
49
|
+
<policyEntries>
|
|
50
|
+
<policyEntry queue=">" producerFlowControl="true" memoryLimit="20mb">
|
|
51
|
+
<deadLetterStrategy>
|
|
52
|
+
<individualDeadLetterStrategy queuePrefix="DLQ." useQueueForQueueMessages="true" />
|
|
53
|
+
</deadLetterStrategy>
|
|
54
|
+
</policyEntry>
|
|
55
|
+
<policyEntry topic=">" producerFlowControl="true" memoryLimit="20mb">
|
|
56
|
+
</policyEntry>
|
|
57
|
+
</policyEntries>
|
|
58
|
+
</policyMap>
|
|
59
|
+
</destinationPolicy>
|
|
60
|
+
|
|
61
|
+
<!-- Use the following to configure how ActiveMQ is exposed in JMX -->
|
|
62
|
+
<managementContext>
|
|
63
|
+
<managementContext createConnector="true" connectorPort="1100"/>
|
|
64
|
+
</managementContext>
|
|
65
|
+
|
|
66
|
+
<!--
|
|
67
|
+
The store and forward broker networks ActiveMQ will listen to
|
|
68
|
+
Create a duplex connector to the first broker
|
|
69
|
+
-->
|
|
70
|
+
<networkConnectors>
|
|
71
|
+
<networkConnector uri="static:(tcp://localhost:61616)" duplex="true"/>
|
|
72
|
+
</networkConnectors>
|
|
73
|
+
|
|
74
|
+
<persistenceAdapter>
|
|
75
|
+
<kahaDB directory="${activemq.base}/data/static-broker2/kahadb" />
|
|
76
|
+
</persistenceAdapter>
|
|
77
|
+
|
|
78
|
+
<!-- The maximum amount of space the broker will use before slowing down producers -->
|
|
79
|
+
<systemUsage>
|
|
80
|
+
<systemUsage>
|
|
81
|
+
<memoryUsage>
|
|
82
|
+
<memoryUsage limit="20 mb"/>
|
|
83
|
+
</memoryUsage>
|
|
84
|
+
<storeUsage>
|
|
85
|
+
<storeUsage limit="1 gb" name="foo"/>
|
|
86
|
+
</storeUsage>
|
|
87
|
+
<tempUsage>
|
|
88
|
+
<tempUsage limit="100 mb"/>
|
|
89
|
+
</tempUsage>
|
|
90
|
+
</systemUsage>
|
|
91
|
+
</systemUsage>
|
|
92
|
+
|
|
93
|
+
<!-- The transport connectors ActiveMQ will listen to -->
|
|
94
|
+
<transportConnectors>
|
|
95
|
+
<transportConnector name="openwire" uri="tcp://0.0.0.0:61618"/>
|
|
96
|
+
</transportConnectors>
|
|
97
|
+
|
|
98
|
+
</broker>
|
|
99
|
+
|
|
100
|
+
</beans>
|
|
@@ -0,0 +1,133 @@
|
|
|
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
|
+
Use Stomp protocol
|
|
19
|
+
|
|
20
|
+
For better behavior under heavy usage, be sure to:
|
|
21
|
+
|
|
22
|
+
1. Give broker enough memory
|
|
23
|
+
2. Disable dedicated task runner
|
|
24
|
+
|
|
25
|
+
e.g. ACTIVEMQ_OPTS="-Xmx1024M -Dorg.apache.activemq.UseDedicatedTaskRunner=false"
|
|
26
|
+
|
|
27
|
+
To run ActiveMQ with this configuration add xbean:conf/activemq-stomp.xml to your command
|
|
28
|
+
e.g. $ bin/activemq console xbean:conf/activemq-stomp.xml
|
|
29
|
+
-->
|
|
30
|
+
<beans
|
|
31
|
+
xmlns="http://www.springframework.org/schema/beans"
|
|
32
|
+
xmlns:amq="http://activemq.apache.org/schema/core"
|
|
33
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
34
|
+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
|
35
|
+
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
|
|
36
|
+
|
|
37
|
+
<!-- Allows us to use system properties as variables in this configuration file -->
|
|
38
|
+
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
|
39
|
+
<property name="locations">
|
|
40
|
+
<value>file:${activemq.base}/conf/credentials.properties</value>
|
|
41
|
+
</property>
|
|
42
|
+
</bean>
|
|
43
|
+
|
|
44
|
+
<!--
|
|
45
|
+
The <broker> element is used to configure the ActiveMQ broker.
|
|
46
|
+
-->
|
|
47
|
+
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.base}/data">
|
|
48
|
+
|
|
49
|
+
<!--
|
|
50
|
+
For better performances use VM cursor and small memory limit.
|
|
51
|
+
For more information, see:
|
|
52
|
+
|
|
53
|
+
http://activemq.apache.org/message-cursors.html
|
|
54
|
+
|
|
55
|
+
Also, if your producer is "hanging", it's probably due to producer flow control.
|
|
56
|
+
For more information, see:
|
|
57
|
+
http://activemq.apache.org/producer-flow-control.html
|
|
58
|
+
-->
|
|
59
|
+
|
|
60
|
+
<destinationPolicy>
|
|
61
|
+
<policyMap>
|
|
62
|
+
<policyEntries>
|
|
63
|
+
<policyEntry topic=">" producerFlowControl="false">
|
|
64
|
+
<pendingSubscriberPolicy>
|
|
65
|
+
<vmCursor />
|
|
66
|
+
</pendingSubscriberPolicy>
|
|
67
|
+
</policyEntry>
|
|
68
|
+
<policyEntry queue=">" producerFlowControl="false">
|
|
69
|
+
<!-- Use VM cursor for better latency
|
|
70
|
+
For more information, see:
|
|
71
|
+
|
|
72
|
+
http://activemq.apache.org/message-cursors.html
|
|
73
|
+
|
|
74
|
+
<pendingQueuePolicy>
|
|
75
|
+
<vmQueueCursor/>
|
|
76
|
+
</pendingQueuePolicy>
|
|
77
|
+
-->
|
|
78
|
+
</policyEntry>
|
|
79
|
+
</policyEntries>
|
|
80
|
+
</policyMap>
|
|
81
|
+
</destinationPolicy>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
<!--
|
|
85
|
+
The managementContext is used to configure how ActiveMQ is exposed in
|
|
86
|
+
JMX. By default, ActiveMQ uses the MBean server that is started by
|
|
87
|
+
the JVM. For more information, see:
|
|
88
|
+
|
|
89
|
+
http://activemq.apache.org/jmx.html
|
|
90
|
+
-->
|
|
91
|
+
<managementContext>
|
|
92
|
+
<managementContext createConnector="false"/>
|
|
93
|
+
</managementContext>
|
|
94
|
+
|
|
95
|
+
<!--
|
|
96
|
+
Configure message persistence for the broker. The default persistence
|
|
97
|
+
mechanism is the KahaDB store (identified by the kahaDB tag).
|
|
98
|
+
For more information, see:
|
|
99
|
+
|
|
100
|
+
http://activemq.apache.org/persistence.html
|
|
101
|
+
-->
|
|
102
|
+
<persistenceAdapter>
|
|
103
|
+
<kahaDB directory="${activemq.base}/data/kahadb"/>
|
|
104
|
+
</persistenceAdapter>
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
<!--
|
|
108
|
+
The transport connectors expose ActiveMQ over a given protocol to
|
|
109
|
+
clients and other brokers. For more information, see:
|
|
110
|
+
|
|
111
|
+
http://activemq.apache.org/configuring-transports.html
|
|
112
|
+
-->
|
|
113
|
+
<transportConnectors>
|
|
114
|
+
<transportConnector name="stomp" uri="stomp://0.0.0.0:61612?transport.closeAsync=false"/>
|
|
115
|
+
<transportConnector name="stomp+nio" uri="stomp+nio://0.0.0.0:61613?transport.closeAsync=false"/>
|
|
116
|
+
</transportConnectors>
|
|
117
|
+
|
|
118
|
+
</broker>
|
|
119
|
+
|
|
120
|
+
<!--
|
|
121
|
+
Uncomment to enable Camel
|
|
122
|
+
Take a look at activemq-camel.xml for more details
|
|
123
|
+
|
|
124
|
+
<import resource="camel.xml"/>
|
|
125
|
+
-->
|
|
126
|
+
|
|
127
|
+
<!--
|
|
128
|
+
Enable web consoles, REST and Ajax APIs and demos
|
|
129
|
+
Take a look at activemq-jetty.xml for more details
|
|
130
|
+
-->
|
|
131
|
+
<import resource="jetty.xml"/>
|
|
132
|
+
|
|
133
|
+
</beans>
|