Author: chirino
Date: Sat Aug 19 12:20:41 2006
New Revision: 432864
URL: http://svn.apache.org/viewvc?rev=432864&view=rev
Log:
Latest export from confluence
Modified:
incubator/activemq/site/connectivity.html
incubator/activemq/site/spring-support.html
Modified: incubator/activemq/site/connectivity.html
URL:
http://svn.apache.org/viewvc/incubator/activemq/site/connectivity.html?rev=432864&r1=432863&r2=432864&view=diff
==============================================================================
--- incubator/activemq/site/connectivity.html (original)
+++ incubator/activemq/site/connectivity.html Sat Aug 19 12:20:41 2006
@@ -287,7 +287,10 @@
<a href="javascript:hideChildren()">Hide Children</a></span>
</div>
<div class="greybox" id="children" style="display: none;">
- <a
href="http://goopen.org/confluence/display/ACTIVEMQ/Cross+Language+Clients"
title="Cross Language Clients">Cross Language Clients</a>
+ <a
href="http://goopen.org/confluence/display/ACTIVEMQ/Sun+JNDI" title="Sun
JNDI">Sun JNDI</a>
+ <span class="smalltext">(ActiveMQ)</span>
+ <br>
+ <a
href="http://goopen.org/confluence/display/ACTIVEMQ/Cross+Language+Clients"
title="Cross Language Clients">Cross Language Clients</a>
<span class="smalltext">(ActiveMQ)</span>
<br>
<a
href="http://goopen.org/confluence/display/ACTIVEMQ/C+Integration" title="C
Integration">C Integration</a>
@@ -345,9 +348,6 @@
<span class="smalltext">(ActiveMQ)</span>
<br>
<a
href="http://goopen.org/confluence/display/ACTIVEMQ/Setting+up+ActiveMQ+with+Tomcat+5.5.9"
title="Setting up ActiveMQ with Tomcat 5.5.9">Setting up ActiveMQ with Tomcat
5.5.9</a>
- <span class="smalltext">(ActiveMQ)</span>
- <br>
- <a
href="http://goopen.org/confluence/display/ACTIVEMQ/Sun+JNDI" title="Sun
JNDI">Sun JNDI</a>
<span class="smalltext">(ActiveMQ)</span>
<br>
<a
href="http://goopen.org/confluence/display/ACTIVEMQ/JCA+Container" title="JCA
Container">JCA Container</a>
Modified: incubator/activemq/site/spring-support.html
URL:
http://svn.apache.org/viewvc/incubator/activemq/site/spring-support.html?rev=432864&r1=432863&r2=432864&view=diff
==============================================================================
--- incubator/activemq/site/spring-support.html (original)
+++ incubator/activemq/site/spring-support.html Sat Aug 19 12:20:41 2006
@@ -185,7 +185,7 @@
<LI><A href="ajax.html" title="Ajax">Ajax</A></LI>
<LI><A href="axis-support.html" title="Axis Support">Axis
Support</A></LI>
<LI><A href="c-integration.html" title="C Integration">C
Integration</A></LI>
- <LI><A href="activemq-cpp-client.html" title="ActiveMQ CPP
Client">C++ Integration</A></LI>
+ <LI><A href="activemq-c-clients.html" title="ActiveMQ C++
Clients">C++ Integration</A></LI>
<LI><A href="nms.html" title="NMS">C# and .Net Integration</A></LI>
<LI><A href="cms.html" title="CMS">CMS</A></LI>
<LI><A href="geronimo.html" title="Geronimo">Geronimo</A></LI>
@@ -300,11 +300,9 @@
</DIV></DIV>
<P>From 1.1 of ActiveMQ onwards you can also use JNDI to configure ActiveMQ
within Spring. <SPAN class="nobr"><A
href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/spring-jndi.xml"
title="Visit page outside Confluence" rel="nofollow">This example<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>
shows how to configure Spring using ActiveMQ's <A href="jndi-support.html"
title="JNDI Support">JNDI Support</A>.</P>
-
<H3><A name="SpringSupport-UsingSpring2.0"></A>Using Spring 2.0</H3>
-<P>If you are using Spring 2.0 and ActiveMQ 4.1 or later (and xbean-spring 2.6
or later) you can embed the ActiveMQ broker XML inside any regular Spring.xml
file without requiring the above factory bean. e.g. here is an <SPAN
class="nobr"><A
href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/spring-embedded-xbean.xml"
title="Visit page outside Confluence" rel="nofollow">example<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> of a
regular Spring XML file in Spring 2.0 which also configures a broker.</P>
-
+<P>If you are using the new <SPAN class="nobr"><A
href="http://static.springframework.org/spring/docs/2.0.x/reference/xsd-config.html"
title="Visit page outside Confluence" rel="nofollow">XML Schema-based
configuration<SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> of Spring 2.0
and ActiveMQ 4.1 or later (and xbean-spring 2.6 or later) you can embed the
ActiveMQ broker XML inside any regular Spring.xml file without requiring the
above factory bean. e.g. here is an <SPAN class="nobr"><A
href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/spring-embedded-xbean.xml"
title="Visit page outside Confluence" rel="nofollow">example<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> of a
regular Spring XML file in S
pring 2.0 which also configures a broker.</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-xml"><beans xmlns=<SPAN
class="code-quote">"http://www.springframework.org/schema/beans"</SPAN>
<SPAN class="code-keyword">xmlns:amq</SPAN>=<SPAN
class="code-quote">"http://activemq.org/config/1.0"</SPAN>
<SPAN class="code-keyword">xmlns:xsi</SPAN>=<SPAN
class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</SPAN>
@@ -360,7 +358,6 @@
<SPAN class="code-tag"></beans></SPAN></PRE>
</DIV></DIV>
-
<P>This allows you to configure JMS artifacts like destinations and connection
factories together with the entire broker.</P>
<H2><A name="SpringSupport-WorkingwithSpring%27sJmsTemplate"></A>Working with
Spring's JmsTemplate</H2>
@@ -409,8 +406,9 @@
<SPAN class="code-tag"><property name=<SPAN
class="code-quote">"start"</SPAN> value=<SPAN
class="code-quote">"true"</SPAN> /></SPAN>
<SPAN class="code-tag"></bean></SPAN></PRE>
</DIV></DIV>
-<P>The referenced config file uses the <A href="xml-configuration.html"
title="Xml Configuration">Xml Configuration</A> mechanism.<TABLE
cellpadding="5" width="85%" cellspacing="8px" class="infoMacro" border="0"
align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD
valign="top"><IMG
src="http://goopen.org/confluence/images/icons/emoticons/information.gif"
width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD><B
class="strong">Using VM Transport</B><BR><BR>
-Note that in ActiveMQ 4.x or later if you configure the
ActiveMQConnectionFactory with the <B>vm:</B> transport then you do not have to
configure an embedded broker explicitly - one will be auto-created for you -
unless you wish to explicitly configure the transports and persistence options
used on the embedded broker.</TD></TR></TABLE></P></DIV>
+<P>The referenced config file uses the <A href="xml-configuration.html"
title="Xml Configuration">Xml Configuration</A> mechanism.</P>
+<TABLE cellpadding="5" width="85%" cellspacing="8px" class="infoMacro"
border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD
valign="top"><IMG
src="http://goopen.org/confluence/images/icons/emoticons/information.gif"
width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD><B
class="strong">Using VM Transport</B><BR>
+<P>Note that in ActiveMQ 4.x or later if you configure the
ActiveMQConnectionFactory with the <B>vm:</B> transport then you do not have to
configure an embedded broker explicitly - one will be auto-created for you -
unless you wish to explicitly configure the transports and persistence options
used on the embedded broker.</P></TD></TR></TABLE></DIV>
<!--
<div class="tabletitle">
@@ -434,9 +432,35 @@
</DIV>
<DIV id="site-footer">
Added by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James
Strachan</A>,
- last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James
Strachan</A> on Aug 10, 2006
- (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=211&originalId=9631">view
change</A>)
-
+ last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=mfork00">Michael
Fork</A> on Aug 19, 2006
+ (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=211&originalId=9703">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>
+ I had to do some digging to figure out why the example didn't work,
as 2.0 still supports DTD based.<BR>
+ <SPAN class="smalltext"><A
href="http://goopen.org/confluence/pages/viewpreviouspageversions.action?pageId=211">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=211">edit
page</A>)
</DIV>