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,18 @@
|
|
|
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
|
+
admin readwrite
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
admin activemq
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
# This file controls most of the logging in ActiveMQ which is mainly based around
|
|
20
|
+
# the commons logging API.
|
|
21
|
+
#
|
|
22
|
+
log4j.rootLogger=INFO, console, logfile
|
|
23
|
+
log4j.logger.org.apache.activemq.spring=WARN
|
|
24
|
+
log4j.logger.org.apache.activemq.web.handler=WARN
|
|
25
|
+
log4j.logger.org.springframework=WARN
|
|
26
|
+
log4j.logger.org.apache.xbean=WARN
|
|
27
|
+
log4j.logger.org.apache.camel=INFO
|
|
28
|
+
|
|
29
|
+
# When debugging or reporting problems to the ActiveMQ team,
|
|
30
|
+
# comment out the above lines and uncomment the next.
|
|
31
|
+
|
|
32
|
+
#log4j.rootLogger=DEBUG, logfile, console
|
|
33
|
+
|
|
34
|
+
# Or for more fine grained debug logging uncomment one of these
|
|
35
|
+
#log4j.logger.org.apache.activemq=DEBUG
|
|
36
|
+
#log4j.logger.org.apache.camel=DEBUG
|
|
37
|
+
|
|
38
|
+
# Console appender
|
|
39
|
+
log4j.appender.console=org.apache.log4j.ConsoleAppender
|
|
40
|
+
log4j.appender.console.layout=org.apache.log4j.PatternLayout
|
|
41
|
+
log4j.appender.console.layout.ConversionPattern=%5p | %m%n
|
|
42
|
+
log4j.appender.console.threshold=INFO
|
|
43
|
+
|
|
44
|
+
# File appender
|
|
45
|
+
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
|
|
46
|
+
log4j.appender.logfile.file=${activemq.base}/data/activemq.log
|
|
47
|
+
log4j.appender.logfile.maxFileSize=1024KB
|
|
48
|
+
log4j.appender.logfile.maxBackupIndex=5
|
|
49
|
+
log4j.appender.logfile.append=true
|
|
50
|
+
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
|
|
51
|
+
log4j.appender.logfile.layout.ConversionPattern=%d | %-5p | %m | %c | %t%n
|
|
52
|
+
# use some of the following patterns to see MDC logging data
|
|
53
|
+
#
|
|
54
|
+
# %X{activemq.broker}
|
|
55
|
+
# %X{activemq.connector}
|
|
56
|
+
# %X{activemq.destination}
|
|
57
|
+
#
|
|
58
|
+
# e.g.
|
|
59
|
+
#
|
|
60
|
+
# log4j.appender.logfile.layout.ConversionPattern=%d | %-20.20X{activemq.connector} | %-5p | %m | %c | %t%n
|
|
61
|
+
|
|
62
|
+
###########
|
|
63
|
+
# Audit log
|
|
64
|
+
###########
|
|
65
|
+
|
|
66
|
+
log4j.additivity.org.apache.activemq.audit=false
|
|
67
|
+
log4j.logger.org.apache.activemq.audit=INFO, audit
|
|
68
|
+
|
|
69
|
+
log4j.appender.audit=org.apache.log4j.RollingFileAppender
|
|
70
|
+
log4j.appender.audit.file=${activemq.base}/data/audit.log
|
|
71
|
+
log4j.appender.audit.maxFileSize=1024KB
|
|
72
|
+
log4j.appender.audit.maxBackupIndex=5
|
|
73
|
+
log4j.appender.audit.append=true
|
|
74
|
+
log4j.appender.audit.layout=org.apache.log4j.PatternLayout
|
|
75
|
+
log4j.appender.audit.layout.ConversionPattern=%-5p | %m | %t%n
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
# This file controls logging which is done over the java.logging API
|
|
20
|
+
#
|
|
21
|
+
|
|
22
|
+
#handlers = java.util.logging.ConsoleHandler
|
|
23
|
+
#java.util.logging.ConsoleHandler.level=INFO
|
|
24
|
+
#java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
|
|
25
|
+
#.level=INFO#
|
|
File without changes
|
|
@@ -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
|
+
<html>
|
|
18
|
+
<frameset cols = "100%">
|
|
19
|
+
<frame src ="http://activemq.apache.org/" />
|
|
20
|
+
</frameset>
|
|
21
|
+
</html>
|
|
22
|
+
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
4
|
+
contributor license agreements. See the NOTICE file distributed with
|
|
5
|
+
this work for additional information regarding copyright ownership.
|
|
6
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
7
|
+
(the "License"); you may not use this file except in compliance with
|
|
8
|
+
the License. You may obtain a copy of the License at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
See the License for the specific language governing permissions and
|
|
16
|
+
limitations under the License.
|
|
17
|
+
-->
|
|
18
|
+
<project name="Inbox" default="help" basedir=".">
|
|
19
|
+
|
|
20
|
+
<property name="class.dir" value="target/classes" />
|
|
21
|
+
<property name="activemq.home" value=".." />
|
|
22
|
+
|
|
23
|
+
<!-- example program defaults -->
|
|
24
|
+
<property name="url" value="tcp://localhost:61616" />
|
|
25
|
+
<property name="topic" value="false" />
|
|
26
|
+
<property name="subject" value="TEST.FOO" />
|
|
27
|
+
<property name="durable" value="false" />
|
|
28
|
+
<property name="max" value="2000" />
|
|
29
|
+
<property name="parallelThreads" value="1" />
|
|
30
|
+
<property name="messageSize" value="1000" />
|
|
31
|
+
<property name="clientId" value="consumer1" />
|
|
32
|
+
<property name="producerClientId" value="null" />
|
|
33
|
+
<property name="timeToLive" value="0" />
|
|
34
|
+
<property name="sleepTime" value="0" />
|
|
35
|
+
<property name="transacted" value="false" />
|
|
36
|
+
<property name="reply-subject" value="" />
|
|
37
|
+
<property name="verbose" value="true"/>
|
|
38
|
+
<property name="ack-mode" value="AUTO_ACKNOWLEDGE"/>
|
|
39
|
+
<property name="receive-time-out" value="0"/>
|
|
40
|
+
<property name="subscribers" value="1"/>
|
|
41
|
+
<property name="batch" value="10"/>
|
|
42
|
+
|
|
43
|
+
<!-- for WAR -->
|
|
44
|
+
<property name="app.name" value="activemq-web" />
|
|
45
|
+
<property name="app.base.dir" location="target/${app.name}" />
|
|
46
|
+
<property name="app.webinf.dir" value="${app.base.dir}/WEB-INF" />
|
|
47
|
+
<property name="app.classes.dir" value="${app.webinf.dir}/classes" />
|
|
48
|
+
<property name="app.lib.dir" value="${app.webinf.dir}/lib" />
|
|
49
|
+
<property name="app.src.dir" value="src" />
|
|
50
|
+
<property name="app.conf.dir" value="conf" />
|
|
51
|
+
<property name="app.dist.dir" value="target" />
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
<target name="help">
|
|
55
|
+
<echo>
|
|
56
|
+
This script requires Ant 1.6 or higher
|
|
57
|
+
|
|
58
|
+
NOTE: All options should be specified as system properties
|
|
59
|
+
on the command line, e.g.:
|
|
60
|
+
|
|
61
|
+
ant consumer -Durl=tcp://hostname:1234 -Dtopic=true
|
|
62
|
+
|
|
63
|
+
OR
|
|
64
|
+
|
|
65
|
+
ant producer -Durl=tcp://hostname:61616 -Dmax=1000
|
|
66
|
+
|
|
67
|
+
Usage:
|
|
68
|
+
ant <ant-task> <options>
|
|
69
|
+
|
|
70
|
+
--------------------------------------------------------
|
|
71
|
+
ant consumer <options> - Creates a consumer which waits until a specific number
|
|
72
|
+
of messages have been received
|
|
73
|
+
|
|
74
|
+
Consumer Options:
|
|
75
|
+
url - Used to specify acustom URL for the
|
|
76
|
+
broker, e.g., tcp://hostname:1234
|
|
77
|
+
topic - A boolean to determine whether to use
|
|
78
|
+
topics or queues; the default is false
|
|
79
|
+
subject - Used to specify a custom destination
|
|
80
|
+
name, e.g. MyDestination
|
|
81
|
+
durable - A boolean to specify that you want to
|
|
82
|
+
create a durable topic?
|
|
83
|
+
max - The maximum number of messages to wait
|
|
84
|
+
for before shutting down
|
|
85
|
+
clientId - A string to use as the client id
|
|
86
|
+
transacted - A boolean to specify that you want to use
|
|
87
|
+
transactions?
|
|
88
|
+
sleepTime - The time to sleep between message consumptions
|
|
89
|
+
verbose - Used to print out more info; the default is
|
|
90
|
+
true
|
|
91
|
+
ack-mode - The type of message acknowledgement to use;
|
|
92
|
+
see the Javadocs for javax.jms.Session for
|
|
93
|
+
more information
|
|
94
|
+
receive-time-out - An integer to specify the time to wait for
|
|
95
|
+
message consumption
|
|
96
|
+
parallelThreads - The number of parallel threads
|
|
97
|
+
batch - Batch size for transactions and client acknowledgment (default 10)
|
|
98
|
+
|
|
99
|
+
--------------------------------------------------------
|
|
100
|
+
ant producer <options> - Creates a producer publishing a number of messages
|
|
101
|
+
|
|
102
|
+
Producer Options:
|
|
103
|
+
url - Used to specify acustom URL for the broker,
|
|
104
|
+
e.g., tcp://hostname:1234
|
|
105
|
+
topic - A boolean to determine whether to use topics
|
|
106
|
+
or queues
|
|
107
|
+
subject - Used to specify a custom destination name,
|
|
108
|
+
e.g. MyDestination
|
|
109
|
+
durable - A boolean to specify that you want to create
|
|
110
|
+
a durable topic subscriber?
|
|
111
|
+
max - The maximum number of messages to wait for
|
|
112
|
+
before shutting down
|
|
113
|
+
sleepTime - The time to sleep between message consumptions
|
|
114
|
+
transacted - A boolean to specify that you want to use
|
|
115
|
+
transactions?
|
|
116
|
+
verbose - Used to print out more info; the default is true
|
|
117
|
+
messageSize - The size of the message in 1-byte characters
|
|
118
|
+
parallelThreads - The number of parallel threads
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
--------------------------------------------------------
|
|
122
|
+
|
|
123
|
+
ant -help - Display ant help screen
|
|
124
|
+
ant help - Display this message
|
|
125
|
+
ant clean - Delete the built directory
|
|
126
|
+
ant embedBroker - Runs an embedded broker inside Java code
|
|
127
|
+
ant war - Creates a WAR deployment unit of the ActiveMQ Broker
|
|
128
|
+
</echo>
|
|
129
|
+
</target>
|
|
130
|
+
|
|
131
|
+
<target name="clean">
|
|
132
|
+
<delete dir="target" quiet="true" />
|
|
133
|
+
<delete dir="${class.dir}" quiet="true" />
|
|
134
|
+
</target>
|
|
135
|
+
|
|
136
|
+
<target name="init">
|
|
137
|
+
<mkdir dir="${class.dir}" />
|
|
138
|
+
<mkdir dir="src/ddl" />
|
|
139
|
+
|
|
140
|
+
<path id="javac.classpath">
|
|
141
|
+
<pathelement path="${class.dir}" />
|
|
142
|
+
<pathelement path="conf" />
|
|
143
|
+
<fileset dir="../lib">
|
|
144
|
+
<include name="**/*.jar" />
|
|
145
|
+
</fileset>
|
|
146
|
+
</path>
|
|
147
|
+
</target>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
<target name="compile" depends="init" description="Compile all Java">
|
|
151
|
+
<javac srcdir="src" destdir="${class.dir}">
|
|
152
|
+
<classpath refid="javac.classpath" />
|
|
153
|
+
</javac>
|
|
154
|
+
<copy todir="${class.dir}">
|
|
155
|
+
<fileset dir="src">
|
|
156
|
+
<include name="**/*.properties" />
|
|
157
|
+
<include name="**/*.xml" />
|
|
158
|
+
</fileset>
|
|
159
|
+
</copy>
|
|
160
|
+
</target>
|
|
161
|
+
|
|
162
|
+
<target name="war" depends="compile" description="Create the activemq broker war file.">
|
|
163
|
+
<!--Copy the required jar files-->
|
|
164
|
+
<copy todir="${app.lib.dir}">
|
|
165
|
+
<fileset dir="../lib">
|
|
166
|
+
<include name="*.jar" />
|
|
167
|
+
<exclude name="servlet.jar" />
|
|
168
|
+
</fileset>
|
|
169
|
+
|
|
170
|
+
<fileset dir="../lib/optional">
|
|
171
|
+
<include name="activemq-web*.jar" />
|
|
172
|
+
<include name="activemq-container*.jar" />
|
|
173
|
+
<include name="commons-bean*.jar" />
|
|
174
|
+
<include name="spring*.jar" />
|
|
175
|
+
<include name="xbean*.jar" />
|
|
176
|
+
|
|
177
|
+
<!-- include Apache Derby for persistence -->
|
|
178
|
+
<include name="derby*.jar" />
|
|
179
|
+
|
|
180
|
+
<!-- include database pooling just in case -->
|
|
181
|
+
<include name="commons-pool*.jar" />
|
|
182
|
+
<include name="commons-db*.jar" />
|
|
183
|
+
</fileset>
|
|
184
|
+
</copy>
|
|
185
|
+
<!--Copy the configuration file-->
|
|
186
|
+
<copy todir="${app.webinf.dir}">
|
|
187
|
+
<fileset dir="${app.conf.dir}">
|
|
188
|
+
<!--Web application configuration file-->
|
|
189
|
+
<include name="web.xml" />
|
|
190
|
+
<!--ActiveMQ configuration file-->
|
|
191
|
+
<include name="activemq.xml" />
|
|
192
|
+
</fileset>
|
|
193
|
+
</copy>
|
|
194
|
+
<copy todir="${app.classes.dir}">
|
|
195
|
+
<fileset dir="${app.conf.dir}">
|
|
196
|
+
<!--Log4j configuration file-->
|
|
197
|
+
<include name="log4j.properties" />
|
|
198
|
+
</fileset>
|
|
199
|
+
</copy>
|
|
200
|
+
<!-- Create the war file -->
|
|
201
|
+
<jar jarfile="${app.dist.dir}/${app.name}.war" basedir="${app.base.dir}" />
|
|
202
|
+
</target>
|
|
203
|
+
|
|
204
|
+
<target name="consumer" depends="compile" description="Runs a simple consumer">
|
|
205
|
+
|
|
206
|
+
<echo>Running consumer against server at $$url = ${url} for subject $$subject = ${subject}</echo>
|
|
207
|
+
<java classname="ConsumerTool" fork="yes" maxmemory="100M">
|
|
208
|
+
<classpath refid="javac.classpath" />
|
|
209
|
+
<jvmarg value="-server" />
|
|
210
|
+
<sysproperty key="activemq.home" value="${activemq.home}"/>
|
|
211
|
+
<arg value="--url=${url}" />
|
|
212
|
+
<arg value="--topic=${topic}" />
|
|
213
|
+
<arg value="--subject=${subject}" />
|
|
214
|
+
<arg value="--durable=${durable}" />
|
|
215
|
+
<arg value="--maxium-messages=${max}" />
|
|
216
|
+
<arg value="--client-id=${clientId}" />
|
|
217
|
+
<arg value="--parallel-threads=${parallelThreads}" />
|
|
218
|
+
<arg value="--transacted=${transacted}" />
|
|
219
|
+
<arg value="--sleep-time=${sleepTime}" />
|
|
220
|
+
<arg value="--verbose=${verbose}"/>
|
|
221
|
+
<arg value="--ack-mode=${ack-mode}"/>
|
|
222
|
+
<arg value="--receive-time-out=${receive-time-out}"/>
|
|
223
|
+
<arg value="--batch=${batch}"/>
|
|
224
|
+
</java>
|
|
225
|
+
</target>
|
|
226
|
+
|
|
227
|
+
<target name="producer" depends="compile" description="Runs a simple producer">
|
|
228
|
+
|
|
229
|
+
<echo>Running producer against server at $$url = ${url} for subject $$subject = ${subject}</echo>
|
|
230
|
+
<java classname="ProducerTool" fork="yes" maxmemory="100M">
|
|
231
|
+
<classpath refid="javac.classpath" />
|
|
232
|
+
<jvmarg value="-server" />
|
|
233
|
+
<sysproperty key="activemq.home" value="${activemq.home}"/>
|
|
234
|
+
<arg value="--url=${url}" />
|
|
235
|
+
<arg value="--topic=${topic}" />
|
|
236
|
+
<arg value="--subject=${subject}" />
|
|
237
|
+
<arg value="--persistent=${durable}" />
|
|
238
|
+
<arg value="--message-count=${max}" />
|
|
239
|
+
<arg value="--message-size=${messageSize}" />
|
|
240
|
+
<arg value="--parallel-threads=${parallelThreads}" />
|
|
241
|
+
<arg value="--time-to-live=${timeToLive}" />
|
|
242
|
+
<arg value="--sleep-time=${sleepTime}" />
|
|
243
|
+
<arg value="--transacted=${transacted}" />
|
|
244
|
+
<arg value="--verbose=${verbose}"/>
|
|
245
|
+
</java>
|
|
246
|
+
</target>
|
|
247
|
+
|
|
248
|
+
<target name="requester" depends="compile" description="Runs a simple requester">
|
|
249
|
+
|
|
250
|
+
<echo>Running requester against server at $$url = ${url} for subject $$subject = ${subject}</echo>
|
|
251
|
+
<java classname="RequesterTool" fork="yes" maxmemory="100M">
|
|
252
|
+
<classpath refid="javac.classpath" />
|
|
253
|
+
<jvmarg value="-server" />
|
|
254
|
+
<sysproperty key="activemq.home" value="${activemq.home}"/>
|
|
255
|
+
<arg value="--url=${url}" />
|
|
256
|
+
<arg value="--topic=${topic}" />
|
|
257
|
+
<arg value="--subject=${subject}" />
|
|
258
|
+
<arg value="--persistent=${durable}" />
|
|
259
|
+
<arg value="--message-count=${max}" />
|
|
260
|
+
<arg value="--message-size=${messageSize}" />
|
|
261
|
+
<arg value="--client-id=${producerClientId}" />
|
|
262
|
+
<arg value="--time-to-live=${timeToLive}" />
|
|
263
|
+
<arg value="--sleep-time=${sleepTime}" />
|
|
264
|
+
<arg value="--transacted=${transacted}" />
|
|
265
|
+
<arg value="--reply-subject=${reply-subject}" />
|
|
266
|
+
<arg value="--verbose=${verbose}"/>
|
|
267
|
+
</java>
|
|
268
|
+
</target>
|
|
269
|
+
|
|
270
|
+
<target name="embedBroker" depends="compile" description="Runs a simple producer">
|
|
271
|
+
|
|
272
|
+
<echo>Running an embedded broker example</echo>
|
|
273
|
+
<java classname="EmbeddedBroker" fork="yes" maxmemory="100M">
|
|
274
|
+
<classpath refid="javac.classpath" />
|
|
275
|
+
<jvmarg value="-server" />
|
|
276
|
+
<sysproperty key="activemq.home" value="${activemq.home}"/>
|
|
277
|
+
</java>
|
|
278
|
+
</target>
|
|
279
|
+
|
|
280
|
+
<target name="topic-publisher" depends="compile" description="Runs a publisher">
|
|
281
|
+
<java classname="TopicPublisher" fork="yes" maxmemory="100M">
|
|
282
|
+
<classpath refid="javac.classpath" />
|
|
283
|
+
<jvmarg value="-server" />
|
|
284
|
+
<arg value="--url=${url}" />
|
|
285
|
+
<arg value="--size=${messageSize}" />
|
|
286
|
+
<arg value="--subscribers=${subscribers}" />
|
|
287
|
+
<arg value="--messages=${max}" />
|
|
288
|
+
<arg value="--delay=${sleepTime}" />
|
|
289
|
+
<arg value="--batch=${batch}" />
|
|
290
|
+
</java>
|
|
291
|
+
</target>
|
|
292
|
+
|
|
293
|
+
<target name="topic-listener" depends="compile" description="Runs a listener">
|
|
294
|
+
<java classname="TopicListener" fork="yes" maxmemory="100M">
|
|
295
|
+
<classpath refid="javac.classpath" />
|
|
296
|
+
<jvmarg value="-server" />
|
|
297
|
+
<arg value="--url=${url}" />
|
|
298
|
+
</java>
|
|
299
|
+
</target>
|
|
300
|
+
|
|
301
|
+
<target name="stomp" depends="compile" description="Runs a Stomp example">
|
|
302
|
+
<echo>Running a Stomp example</echo>
|
|
303
|
+
<java classname="StompExample" fork="yes" maxmemory="100M">
|
|
304
|
+
<classpath refid="javac.classpath" />
|
|
305
|
+
<jvmarg value="-server" />
|
|
306
|
+
</java>
|
|
307
|
+
</target>
|
|
308
|
+
|
|
309
|
+
<target name="log4j-jms" depends="compile" description="Runs a Log4j JMS Appender example">
|
|
310
|
+
<echo>Running a Log4j JMS Appender example</echo>
|
|
311
|
+
<java classname="Log4jJMSAppenderExample" fork="yes" maxmemory="100M">
|
|
312
|
+
<classpath refid="javac.classpath" />
|
|
313
|
+
<jvmarg value="-Dlog4j.configuration=log4j-jms.properties" />
|
|
314
|
+
</java>
|
|
315
|
+
</target>
|
|
316
|
+
|
|
317
|
+
</project>
|