Author: jstrachan
Date: Tue Jul 4 05:59:42 2006
New Revision: 418997
URL: http://svn.apache.org/viewvc?rev=418997&view=rev
Log:
Latest export from confluence
Modified:
incubator/activemq/site/async-sends.html
Modified: incubator/activemq/site/async-sends.html
URL:
http://svn.apache.org/viewvc/incubator/activemq/site/async-sends.html?rev=418997&r1=418996&r2=418997&view=diff
==============================================================================
--- incubator/activemq/site/async-sends.html (original)
+++ incubator/activemq/site/async-sends.html Tue Jul 4 05:59:42 2006
@@ -259,12 +259,16 @@
<H3><A
name="AsyncSends-ConfiguringAsyncSendusingaConnectionURI"></A>Configuring Async
Send using a Connection URI</H3>
+<P>You can use the <A href="connection-configuration-uri.html"
title="Connection Configuration URI">Connection Configuration URI</A> to
configure async sends as follows</P>
+
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">cf = <SPAN class="code-keyword">new</SPAN>
ActiveMQConnectionFactory(<SPAN class="code-quote">"tcp:<SPAN
class="code-comment">//locahost:61616?jms.useAsyncSend=<SPAN
class="code-keyword">true</SPAN>"</SPAN>);</SPAN></PRE>
</DIV></DIV>
<H3><A
name="AsyncSends-ConfiguringAsyncSendattheConnectionFactoryLevel"></A>Configuring
Async Send at the ConnectionFactory Level</H3>
+<P>You can enable this feature on the <SPAN class="nobr"><A
href="http://incubator.apache.org/activemq/maven/activemq-core/apidocs/org/apache/activemq/ActiveMQConnectionFactory.html"
title="Visit page outside Confluence" rel="nofollow">ActiveMQConnectionFactory
<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> object using
the property.</P>
+
<DIV class="code"><DIV class="codeContent">
<PRE
class="code-java">((ActiveMQConnectionFactory)connectionFactory).setUseAsyncSend(<SPAN
class="code-keyword">true</SPAN>);</PRE>
</DIV></DIV>
@@ -273,9 +277,20 @@
<P>Configuring the dispatchAsync setting at this level overrides the settings
at the connection factory level.</P>
+<P>You can enable this feature on the <SPAN class="nobr"><A
href="http://incubator.apache.org/activemq/maven/activemq-core/apidocs/org/apache/activemq/ActiveMQConnection.html"
title="Visit page outside Confluence"
rel="nofollow">ActiveMQConnection<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> object using
the property.</P>
+
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">((ActiveMQConnection)connection).setUseAsyncSend(<SPAN
class="code-keyword">true</SPAN>);</PRE>
-</DIV></DIV></DIV>
+</DIV></DIV>
+
+<H3><A name="AsyncSends-Alsosee"></A>Also see</H3>
+
+<UL>
+ <LI><A href="connection-configuration-uri.html" title="Connection
Configuration URI">Connection Configuration URI</A></LI>
+ <LI><A href="should-i-use-transactions.html" title="Should I use
transactions">Should I use transactions</A></LI>
+ <LI><A href="consumer-dispatch-async.html" title="Consumer Dispatch
Async">Consumer Dispatch Async</A></LI>
+</UL>
+</DIV>
</DIV>
</TD>
@@ -285,8 +300,8 @@
</DIV>
<DIV id="site-footer">
Added by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=chirino">Hiram
Chirino</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=5331&originalId=5396">view
change</A>)
+ last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James
Strachan</A> on Jul 04, 2006
+ (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=5331&originalId=8950">view
change</A>)
(<A
href="http://goopen.org/confluence/pages/editpage.action?pageId=5331">edit
page</A>)
</DIV>