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
|
+
Apache ActiveMQ
|
|
3
|
+
Copyright 2005-2006 The Apache Software Foundation
|
|
4
|
+
|
|
5
|
+
This product includes software developed by
|
|
6
|
+
The Apache Software Foundation (http://www.apache.org/).
|
|
7
|
+
|
|
8
|
+
=========================================================================
|
|
9
|
+
== Derby Notice ==
|
|
10
|
+
=========================================================================
|
|
11
|
+
|
|
12
|
+
Portions of Derby were orginally developed by
|
|
13
|
+
International Business Machines Corporation and are
|
|
14
|
+
licensed to the Apache Software Foundation under the
|
|
15
|
+
"Software Grant and Corporate Contribution License Agreement",
|
|
16
|
+
informally known as the "Derby CLA".
|
|
17
|
+
|
|
18
|
+
The portion of the functionTests under 'nist' was originally
|
|
19
|
+
developed by the National Institute of Standards and Technology (NIST),
|
|
20
|
+
an agency of the United States Department of Commerce, and adapted by
|
|
21
|
+
International Business Machines Corporation in accordance with the NIST
|
|
22
|
+
Software Acknowledgment and Redistribution document at
|
|
23
|
+
http://www.itl.nist.gov/div897/ctg/sql_form.htm
|
|
24
|
+
|
|
25
|
+
=========================================================================
|
|
26
|
+
== Spring Notice ==
|
|
27
|
+
=========================================================================
|
|
28
|
+
|
|
29
|
+
This product includes software developed by
|
|
30
|
+
the Apache Software Foundation (http://www.apache.org).
|
|
31
|
+
|
|
32
|
+
This product also includes software developed by
|
|
33
|
+
Clinton Begin (http://www.ibatis.com).
|
|
34
|
+
|
|
35
|
+
The end-user documentation included with a redistribution, if any,
|
|
36
|
+
must include the following acknowledgement:
|
|
37
|
+
|
|
38
|
+
"This product includes software developed by the Spring Framework
|
|
39
|
+
Project (http://www.springframework.org)."
|
|
40
|
+
|
|
41
|
+
Alternately, this acknowledgement may appear in the software itself,
|
|
42
|
+
if and wherever such third-party acknowledgements normally appear.
|
|
43
|
+
|
|
44
|
+
The names "Spring" and "Spring Framework" must not be used to
|
|
45
|
+
endorse or promote products derived from this software without
|
|
46
|
+
prior written permission. For written permission, please contact
|
|
47
|
+
rod.johnson@interface21.com or juergen.hoeller@interface21.com.
|
|
48
|
+
|
|
49
|
+
=========================================================================
|
|
50
|
+
== Rome Notice (not from Rome site) ==
|
|
51
|
+
=========================================================================
|
|
52
|
+
Rome 0.8 Copyright 2004 Sun Microsystems, Inc.
|
|
53
|
+
This product includes software developed by the Sun Microsystems, Inc.
|
|
54
|
+
(http://wiki.java.net/bin/view/Javawsxml/Rome).
|
|
55
|
+
|
|
56
|
+
==============================================================
|
|
57
|
+
Jetty Web Container
|
|
58
|
+
Copyright 1995-2006 Mort Bay Consulting Pty Ltd
|
|
59
|
+
==============================================================
|
|
60
|
+
|
|
61
|
+
This product includes some software developed at The Apache Software
|
|
62
|
+
Foundation (http://www.apache.org/).
|
|
63
|
+
|
|
64
|
+
The javax.servlet package used by Jetty is copyright
|
|
65
|
+
Sun Microsystems, Inc and Apache Software Foundation. It is
|
|
66
|
+
distributed under the Common Development and Distribution License.
|
|
67
|
+
You can obtain a copy of the license at
|
|
68
|
+
https://glassfish.dev.java.net/public/CDDLv1.0.html.
|
|
69
|
+
|
|
70
|
+
The UnixCrypt.java code ~Implements the one way cryptography used by
|
|
71
|
+
Unix systems for simple password protection. Copyright 1996 Aki Yoshida,
|
|
72
|
+
modified April 2001 by Iris Van den Broeke, Daniel Deville.
|
|
73
|
+
|
|
74
|
+
The default JSP implementation is provided by the Glassfish JSP engine
|
|
75
|
+
from project Glassfish http://glassfish.dev.java.net. Copyright 2005
|
|
76
|
+
Sun Microsystems, Inc. and portions Copyright Apache Software Foundation.
|
|
77
|
+
|
|
78
|
+
Some portions of the code are Copyright:
|
|
79
|
+
2006 Tim Vernum
|
|
80
|
+
1999 Jason Gilbert.
|
|
81
|
+
|
|
82
|
+
The jboss integration module contains some LGPL code.
|
|
@@ -0,0 +1,111 @@
|
|
|
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
|
+
<!DOCTYPE web-app
|
|
19
|
+
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
|
|
20
|
+
"http://java.sun.com/dtd/web-app_2_3.dtd">
|
|
21
|
+
|
|
22
|
+
<web-app>
|
|
23
|
+
|
|
24
|
+
<display-name>ActiveMQ Web Demos</display-name>
|
|
25
|
+
<description>
|
|
26
|
+
Apache ActiveMQ Web Demos
|
|
27
|
+
</description>
|
|
28
|
+
|
|
29
|
+
<!-- context config -->
|
|
30
|
+
<context-param>
|
|
31
|
+
<param-name>org.apache.activemq.brokerURL</param-name>
|
|
32
|
+
<param-value>vm://localhost</param-value>
|
|
33
|
+
<description>The URL of the Message Broker to connect to</description>
|
|
34
|
+
</context-param>
|
|
35
|
+
|
|
36
|
+
<context-param>
|
|
37
|
+
<param-name>org.apache.activemq.embeddedBroker</param-name>
|
|
38
|
+
<param-value>true</param-value>
|
|
39
|
+
<description>Whether we should include an embedded broker or not</description>
|
|
40
|
+
</context-param>
|
|
41
|
+
|
|
42
|
+
<!-- servlet mappings -->
|
|
43
|
+
|
|
44
|
+
<!-- the subscription REST servlet -->
|
|
45
|
+
<servlet>
|
|
46
|
+
<servlet-name>AjaxServlet</servlet-name>
|
|
47
|
+
<servlet-class>org.apache.activemq.web.AjaxServlet</servlet-class>
|
|
48
|
+
<load-on-startup>1</load-on-startup>
|
|
49
|
+
</servlet>
|
|
50
|
+
|
|
51
|
+
<servlet>
|
|
52
|
+
<servlet-name>MessageServlet</servlet-name>
|
|
53
|
+
<servlet-class>org.apache.activemq.web.MessageServlet</servlet-class>
|
|
54
|
+
<load-on-startup>1</load-on-startup>
|
|
55
|
+
<!--
|
|
56
|
+
Uncomment this parameter if you plan to use multiple consumers over REST
|
|
57
|
+
<init-param>
|
|
58
|
+
<param-name>destinationOptions</param-name>
|
|
59
|
+
<param-value>consumer.prefetchSize=1</param-value>
|
|
60
|
+
</init-param>
|
|
61
|
+
-->
|
|
62
|
+
|
|
63
|
+
</servlet>
|
|
64
|
+
|
|
65
|
+
<!-- the queue browse servlet -->
|
|
66
|
+
<servlet>
|
|
67
|
+
<servlet-name>QueueBrowseServlet</servlet-name>
|
|
68
|
+
<servlet-class>org.apache.activemq.web.QueueBrowseServlet</servlet-class>
|
|
69
|
+
</servlet>
|
|
70
|
+
|
|
71
|
+
<!-- servlets for the portfolio demo -->
|
|
72
|
+
<servlet>
|
|
73
|
+
<servlet-name>PortfolioPublishServlet</servlet-name>
|
|
74
|
+
<servlet-class>org.apache.activemq.web.PortfolioPublishServlet</servlet-class>
|
|
75
|
+
<load-on-startup>1</load-on-startup>
|
|
76
|
+
</servlet>
|
|
77
|
+
|
|
78
|
+
<servlet-mapping>
|
|
79
|
+
<servlet-name>AjaxServlet</servlet-name>
|
|
80
|
+
<url-pattern>/amq/*</url-pattern>
|
|
81
|
+
</servlet-mapping>
|
|
82
|
+
|
|
83
|
+
<servlet-mapping>
|
|
84
|
+
<servlet-name>MessageServlet</servlet-name>
|
|
85
|
+
<url-pattern>/message/*</url-pattern>
|
|
86
|
+
</servlet-mapping>
|
|
87
|
+
|
|
88
|
+
<servlet-mapping>
|
|
89
|
+
<servlet-name>QueueBrowseServlet</servlet-name>
|
|
90
|
+
<url-pattern>/queueBrowse/*</url-pattern>
|
|
91
|
+
</servlet-mapping>
|
|
92
|
+
|
|
93
|
+
<servlet-mapping>
|
|
94
|
+
<servlet-name>PortfolioPublishServlet</servlet-name>
|
|
95
|
+
<url-pattern>/portfolioPublish</url-pattern>
|
|
96
|
+
</servlet-mapping>
|
|
97
|
+
|
|
98
|
+
<filter>
|
|
99
|
+
<filter-name>session</filter-name>
|
|
100
|
+
<filter-class>org.apache.activemq.web.SessionFilter</filter-class>
|
|
101
|
+
</filter>
|
|
102
|
+
|
|
103
|
+
<filter-mapping>
|
|
104
|
+
<filter-name>session</filter-name>
|
|
105
|
+
<url-pattern>/*</url-pattern>
|
|
106
|
+
</filter-mapping>
|
|
107
|
+
|
|
108
|
+
<listener>
|
|
109
|
+
<listener-class>org.apache.activemq.web.SessionListener</listener-class>
|
|
110
|
+
</listener>
|
|
111
|
+
</web-app>
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
div#chatroom
|
|
18
|
+
{
|
|
19
|
+
width: 81em;
|
|
20
|
+
background-color: #e0e0e0;
|
|
21
|
+
border: 1px solid black;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
div#chat
|
|
25
|
+
{
|
|
26
|
+
float: left;
|
|
27
|
+
width: 60em;
|
|
28
|
+
height: 40ex;
|
|
29
|
+
overflow: auto;
|
|
30
|
+
background-color: #f0f0f0;
|
|
31
|
+
padding: 4px;
|
|
32
|
+
border-right: 1px solid black;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
div#members
|
|
36
|
+
{
|
|
37
|
+
float: left;
|
|
38
|
+
clear: right;
|
|
39
|
+
width: 20em;
|
|
40
|
+
border: 0px solid black;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
div#input
|
|
44
|
+
{
|
|
45
|
+
clear: both;
|
|
46
|
+
padding: 4px;
|
|
47
|
+
border-top: 1px solid black;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
input#phrase
|
|
51
|
+
{
|
|
52
|
+
width:28em;
|
|
53
|
+
background-color: #e0f0f0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
input#username
|
|
57
|
+
{
|
|
58
|
+
width:14em;
|
|
59
|
+
background-color: #e0f0f0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
div.hidden
|
|
63
|
+
{
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
span.from
|
|
68
|
+
{
|
|
69
|
+
font-weight: bold;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
span.alert
|
|
73
|
+
{
|
|
74
|
+
font-style: italic;
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -0,0 +1,219 @@
|
|
|
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
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
24
|
+
|
|
25
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
26
|
+
<html>
|
|
27
|
+
<head>
|
|
28
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
29
|
+
<title>Chat Example - ActiveMQ Web Demos</title>
|
|
30
|
+
<link rel="stylesheet" href="chat.css" type="text/css">
|
|
31
|
+
<style type="text/css" media="screen">
|
|
32
|
+
@import url(/admin/styles/sorttable.css);
|
|
33
|
+
@import url(/admin/styles/type-settings.css);
|
|
34
|
+
@import url(/admin/styles/site.css);
|
|
35
|
+
@import url(/admin/styles/prettify.css);
|
|
36
|
+
</style>
|
|
37
|
+
|
|
38
|
+
<!--<script type="text/javascript" src="js/prototype.js"></script>-->
|
|
39
|
+
<!--<script type="text/javascript" src="js/amq_prototype_adapter.js"></script>-->
|
|
40
|
+
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
|
|
41
|
+
<script type="text/javascript" src="js/amq_jquery_adapter.js"></script>
|
|
42
|
+
|
|
43
|
+
<script type="text/javascript" src="js/amq.js"></script>
|
|
44
|
+
<script type="text/javascript" src="js/chat.js"></script>
|
|
45
|
+
<script type="text/javascript">
|
|
46
|
+
|
|
47
|
+
// Note, normally you wouldn't just add an onload function in this
|
|
48
|
+
// manner. In fact, you typically want to fire this method on the
|
|
49
|
+
// document.onready event, however this type of functionality is verbose
|
|
50
|
+
// and best left to the domain of your favorite js library.
|
|
51
|
+
//
|
|
52
|
+
// For example, in jQuery the following onload would be replaced with:
|
|
53
|
+
// jQuery(function() {
|
|
54
|
+
// org.activemq.Amq.init({ uri: 'amq' });
|
|
55
|
+
// org.activemq.Chat.init();
|
|
56
|
+
// }
|
|
57
|
+
window.onload = function() {
|
|
58
|
+
org.activemq.Amq.init({ uri: 'amq', logging: true, timeout: 45, clientId:(new Date()).getTime().toString() });
|
|
59
|
+
org.activemq.Chat.init();
|
|
60
|
+
};
|
|
61
|
+
</script>
|
|
62
|
+
|
|
63
|
+
</head>
|
|
64
|
+
|
|
65
|
+
<body>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
<div class="white_box">
|
|
69
|
+
<div class="header">
|
|
70
|
+
<div class="header_l">
|
|
71
|
+
<div class="header_r">
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="content">
|
|
76
|
+
<div class="content_l">
|
|
77
|
+
<div class="content_r">
|
|
78
|
+
|
|
79
|
+
<div>
|
|
80
|
+
|
|
81
|
+
<!-- Banner -->
|
|
82
|
+
<div id="asf_logo">
|
|
83
|
+
<div id="activemq_logo">
|
|
84
|
+
<a style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;"
|
|
85
|
+
href="http://activemq.apache.org/"
|
|
86
|
+
title="The most popular and powerful open source Message Broker">ActiveMQ</a>
|
|
87
|
+
<a style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;"
|
|
88
|
+
href="http://www.apache.org/" title="The Apache Software Foundation">ASF</a>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<div class="top_red_bar">
|
|
94
|
+
<div id="site-breadcrumbs">
|
|
95
|
+
<a href="index.html" title="Home">Home</a>
|
|
96
|
+
</div>
|
|
97
|
+
<div id="site-quicklinks"><P>
|
|
98
|
+
<a href="http://activemq.apache.org/support.html"
|
|
99
|
+
title="Get help and support using Apache ActiveMQ">Support</a></p>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
<table border="0">
|
|
104
|
+
<tbody>
|
|
105
|
+
<tr>
|
|
106
|
+
<td valign="top" width="100%" style="overflow:hidden;">
|
|
107
|
+
<div class="body-content">
|
|
108
|
+
|
|
109
|
+
<h1>Chat Example</h1>
|
|
110
|
+
|
|
111
|
+
<p>Welcome to the Ajax chat example</p>
|
|
112
|
+
|
|
113
|
+
<div id="chatroom">
|
|
114
|
+
<div id="chat"></div>
|
|
115
|
+
|
|
116
|
+
<div id="members"></div>
|
|
117
|
+
|
|
118
|
+
<div id="input">
|
|
119
|
+
<div id="join" class="hidden">
|
|
120
|
+
Username:
|
|
121
|
+
<input id="username" type="text"/>
|
|
122
|
+
<button id="joinB">Join</button>
|
|
123
|
+
</div>
|
|
124
|
+
<div id="joined" class="hidden">
|
|
125
|
+
Chat:
|
|
126
|
+
<input id="phrase" type="text" />
|
|
127
|
+
<button id="sendB">Send</button>
|
|
128
|
+
<button id="leaveB">Leave</button>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<p>
|
|
134
|
+
This Chat example creates an ActiveMQ broker using the configuration
|
|
135
|
+
information found in the <code>web.xml</code> file. There isn't much there.
|
|
136
|
+
Just a name-value parameter named <code>org.apache.activemq.brokerURL</code>
|
|
137
|
+
is assigned a value of <code>vm://localhost?broker.persistent=false</code>.
|
|
138
|
+
This is enough however to lazy-initialize the broker when it is needed.
|
|
139
|
+
</p>
|
|
140
|
+
<p>
|
|
141
|
+
The client leverages a javascript library <code>amq.js</code> to perform all
|
|
142
|
+
of the JMS-related client side code. This involves establishing a
|
|
143
|
+
communication pipeline to the JMS server. This pipeline uses a long-poll
|
|
144
|
+
connection to the server. All JMS communication will be received down this
|
|
145
|
+
pipe, and when the JMS server has no traffic to send, this pipeline will
|
|
146
|
+
patiently wait until there is new traffic or until it times out. If a
|
|
147
|
+
timeout does occur, the connection will reconnect to the server for another
|
|
148
|
+
round. (Of course you will want/need to use a server that supports
|
|
149
|
+
continuations in order for this to scale beyond a few hundred clients.)
|
|
150
|
+
</p>
|
|
151
|
+
<p>
|
|
152
|
+
The <code>chat.js</code> file contains the script to respond to the UI
|
|
153
|
+
interactions. It also talks to the <code>amq.js</code> file to send messages
|
|
154
|
+
and provides a message handler that will respond to incoming JMS messages.
|
|
155
|
+
</p>
|
|
156
|
+
<p>
|
|
157
|
+
There is no server-side state in this application. The client sets up a JMS
|
|
158
|
+
Topic on the server and attaches itself as a listener to this topic. From
|
|
159
|
+
that point, all messages that are sent to the topic are received by each
|
|
160
|
+
listener. Even the list of members in the chat room are the result of
|
|
161
|
+
clients replying to a ping request.
|
|
162
|
+
</p>
|
|
163
|
+
<p>
|
|
164
|
+
Please note that <code>amq.js</code> has been refactored to allow AJAX calls
|
|
165
|
+
to be made using any javascript library. Example adapter classes for <a href="http://jquery.com/">jQuery</a>
|
|
166
|
+
and <a href="http://www.prototypejs.org/">Prototype</a> have been provided.
|
|
167
|
+
</p>
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
</div>
|
|
171
|
+
</td>
|
|
172
|
+
<td valign="top">
|
|
173
|
+
|
|
174
|
+
<div class="navigation">
|
|
175
|
+
<div class="navigation_top">
|
|
176
|
+
<div class="navigation_bottom">
|
|
177
|
+
<H3>Useful Links</H3>
|
|
178
|
+
|
|
179
|
+
<ul class="alternate" type="square">
|
|
180
|
+
<li><a href="http://activemq.apache.org/"
|
|
181
|
+
title="The most popular and powerful open source Message Broker">Documentation</a></li>
|
|
182
|
+
<li><a href="http://activemq.apache.org/faq.html">FAQ</a></li>
|
|
183
|
+
<li><a href="http://activemq.apache.org/download.html">Downloads</a>
|
|
184
|
+
</li>
|
|
185
|
+
<li><a href="http://activemq.apache.org/discussion-forums.html">Forums</a>
|
|
186
|
+
</li>
|
|
187
|
+
</ul>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
</td>
|
|
192
|
+
</tr>
|
|
193
|
+
</tbody>
|
|
194
|
+
</table>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
<div class="bottom_red_bar"></div>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
<div class="black_box">
|
|
203
|
+
<div class="footer">
|
|
204
|
+
<div class="footer_l">
|
|
205
|
+
<div class="footer_r">
|
|
206
|
+
<div>
|
|
207
|
+
Copyright 2005-2007 The Apache Software Foundation.
|
|
208
|
+
|
|
209
|
+
(<a href="?printable=true">printable version</a>)
|
|
210
|
+
</div>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
<div class="design_attribution"><a href="http://hiramchirino.com/">Graphic Design By Hiram</a></div>
|
|
217
|
+
|
|
218
|
+
</body>
|
|
219
|
+
</html>
|