Author: jstrachan
Date: Thu Jun 8 18:14:19 2006
New Revision: 412897
URL: http://svn.apache.org/viewvc?rev=412897&view=rev
Log:
Latest export from confluence
Modified:
incubator/activemq/site/hello-world.html
Modified: incubator/activemq/site/hello-world.html
URL:
http://svn.apache.org/viewvc/incubator/activemq/site/hello-world.html?rev=412897&r1=412896&r2=412897&view=diff
==============================================================================
--- incubator/activemq/site/hello-world.html (original)
+++ incubator/activemq/site/hello-world.html Thu Jun 8 18:14:19 2006
@@ -242,13 +242,12 @@
<!--
<div class="pagetitle">Hello World</div>
-->
- <DIV class="wiki-content">
-<P>The following is a very simple JMS application with multiple, concurrent,
consumers and producers. See the <A href="initial-configuration.html"
title="Initial Configuration">Initial Configuration</A> guide for details on
how to setup your classpath correctly.</P>
+ <DIV class="wiki-content"><P>The following is a very simple JMS
application with multiple, concurrent, consumers and producers. See the <A
href="initial-configuration.html" title="Initial Configuration">Initial
Configuration</A> guide for details on how to setup your classpath
correctly.</P>
<P>Things you might do after running this example:</P>
<UL class="alternate" type="square">
<LI><A href="run-broker.html" title="Run Broker">Setup a broker</A>
instead of using the org.activemq.broker.impl.Main class directly</LI>
- <LI>Use JNDI to lookup a javax.jms.ConnectionFactory rahter than
creating ActiveMQConnectionFactory directly.</LI>
+ <LI>Use JNDI to lookup a javax.jms.ConnectionFactory rather than
creating ActiveMQConnectionFactory directly.</LI>
<LI>Implement the javax.jms.MessageListener interface rather than
calling consumer.receive()</LI>
<LI>Use transactional sessions</LI>
<LI>Use a Topic rather than a queue</LI>
@@ -256,7 +255,6 @@
<P>The point of this example is to show you the basic code required to use JMS
in a straightforward way. The Consumers and Producers could very easy be on
completely different machines or in different processes.</P>
-
<DIV class="code"><DIV class="codeHeader"><B>App.java</B></DIV><DIV
class="codeContent">
<PRE class="code-java"><SPAN class="code-keyword">import</SPAN>
org.activemq.ActiveMQConnectionFactory;
@@ -424,9 +422,35 @@
</DIV>
<DIV id="site-footer">
Added by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=dblevins">dblevins</A>,
- last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James
Strachan</A> on May 12, 2006
- (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=23&originalId=5418">view
change</A>)
-
+ last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jordansamuels">Jordan
Samuels</A> on Jun 08, 2006
+ (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=23&originalId=8652">view
change</A>)
+ <SPAN id="show" class="inline-control-link"><A href=""
onclick="showComment(); return false;">show comment</A></SPAN>
+ <SPAN id="hide" class="inline-control-link" style="display:none;"><A
href="" onclick="hideComment(); return false;">hide comment</A></SPAN>
+ <DIV id="versionComment" class="noteMacro" style="display:none;
padding: 5px;">
+ <B>Comment:</B>
+ sp<BR>
+ <SPAN class="smalltext"><A
href="http://goopen.org/confluence/pages/viewpreviouspageversions.action?pageId=23">View
page history</A></SPAN>
+ </DIV>
+
+ <SCRIPT>
+ var show = document.getElementById('show');
+ var hide = document.getElementById('hide');
+ var versionComment = document.getElementById('versionComment');
+
+ function showComment(){
+ show.style.display = 'none';
+ hide.style.display = 'inline';
+ versionComment.style.display = 'block';
+ }
+
+ function hideComment(){
+ show.style.display = 'inline';
+ hide.style.display = 'none';
+ versionComment.style.display = 'none';
+ }
+
+ </SCRIPT>
+
(<A
href="http://goopen.org/confluence/pages/editpage.action?pageId=23">edit
page</A>)
</DIV>