activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r412713 - in /incubator/activemq/site: activemq-4-connection-uris.html connection-configuration-uri.html
Date Thu, 08 Jun 2006 10:02:40 GMT
Author: jstrachan
Date: Thu Jun  8 03:02:38 2006
New Revision: 412713

URL: http://svn.apache.org/viewvc?rev=412713&view=rev
Log:
Latest export from confluence

Modified:
    incubator/activemq/site/activemq-4-connection-uris.html
    incubator/activemq/site/connection-configuration-uri.html

Modified: incubator/activemq/site/activemq-4-connection-uris.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/activemq-4-connection-uris.html?rev=412713&r1=412712&r2=412713&view=diff
==============================================================================
--- incubator/activemq/site/activemq-4-connection-uris.html (original)
+++ incubator/activemq/site/activemq-4-connection-uris.html Thu Jun  8 03:02:38 2006
@@ -244,7 +244,7 @@
 -->
             <DIV class="wiki-content"><H3><A name="ActiveMQ4ConnectionURIs-ConnectionConfigurationURI"></A>Connection
Configuration URI</H3>
 
-<P>Any Apache ActiveMQ JMS connection can be configured using the URL or explicitly
setting properties 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> or <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
themselves.</P>
+<P>Any Apache ActiveMQ JMS connection can be configured using the URL or explicitly
setting properties 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> or <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> objects
themselves.</P>
 
 <P>For more information see <A href="connection-configuration-uri.html" title="Connection
Configuration URI">Connection Configuration URI</A></P>
 
@@ -375,7 +375,7 @@
     <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 Jun 08, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=95&originalId=8625">view
change</A>)
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=95&originalId=8626">view
change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=95">edit
page</A>)
     </DIV>

Modified: incubator/activemq/site/connection-configuration-uri.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/connection-configuration-uri.html?rev=412713&r1=412712&r2=412713&view=diff
==============================================================================
--- incubator/activemq/site/connection-configuration-uri.html (original)
+++ incubator/activemq/site/connection-configuration-uri.html Thu Jun  8 03:02:38 2006
@@ -242,9 +242,89 @@
 <!--          
             <div class="pagetitle">Connection Configuration URI</div>
 -->
-            <DIV class="wiki-content"><P>Created by <SPAN class="nobr"><A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan" title="View
profile for James Strachan"><SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/user_12.gif"
height="12" width="12" align="absmiddle" alt="" border="0"></SUP>James Strachan</A></SPAN><BR>
- On Thu Jun 08 10:11:14 BST 2006<BR>
-Using <FONT color="blue">TimTam</FONT></P></DIV>
+            <DIV class="wiki-content"><H3><A name="ConnectionConfigurationURI-Overview"></A>Overview</H3>
+
+<P>An Apache ActiveMQ connection can be configured by explicitly setting properties
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> or <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> objects
themselves or using the following URI syntax.</P>
+
+<H4><A name="ConnectionConfigurationURI-Example"></A>Example</H4>
+
+<P>You set the property called jms.$PROPERTY on a regular connection URI such as when
enabling <A href="async-sends.html" title="Async Sends">Async Sends</A>. e.g.</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">tcp:<SPAN class="code-comment">//localhost:61616?jms.useAsync=<SPAN
class="code-keyword">true</SPAN></SPAN></PRE>
+</DIV></DIV>
+
+<H5><A name="ConnectionConfigurationURI-ConnectionOptions"></A>Connection
Options</H5>
+
+<P>The following options should be prefixed with <B>jms.</B> when used
on a URI when connecting to a broker.</P>
+
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh">Option Name</TH>
+<TH class="confluenceTh">Default Value</TH>
+<TH class="confluenceTh">Description</TH>
+</TR>
+<TR>
+<TD class="confluenceTd"> alwaysSessionAsync </TD>
+<TD class="confluenceTd"> true </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> clientID </TD>
+<TD class="confluenceTd"> null </TD>
+<TD class="confluenceTd"> Sets the JMS clientID to use for the connection </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> closeTimeout </TD>
+<TD class="confluenceTd"> 15000 (milliseconds) </TD>
+<TD class="confluenceTd"> Sets the timeout before a close is considered complete. Normally
a close() on a connection waits for confirmation from the broker; this allows that operation
to timeout to save the client hanging if there is no broker. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> copyMessageOnSend </TD>
+<TD class="confluenceTd"> true </TD>
+<TD class="confluenceTd"> Should a JMS message be copied to a new JMS Message object
as part of the send() method in JMS. This is enabled by default to be compliant with the JMS
specification. You can disable it if you do not mutate JMS messages after they are sent for
a performance boost. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> disableTimeStampsByDefault </TD>
+<TD class="confluenceTd"> false </TD>
+<TD class="confluenceTd"> Sets whether or not timestamps on messages should be disabled
or not. If you disable them it adds a small performance boost. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> objectMessageSerializationDefered </TD>
+<TD class="confluenceTd"> false </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> onSendPrepareMessageBody </TD>
+<TD class="confluenceTd"> true </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> optimizeAcknowledge </TD>
+<TD class="confluenceTd"> true </TD>
+<TD class="confluenceTd"> Enables an optimised acknowledgement mode where messages
are acknowledged in batches rather than individually </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> optimizedMessageDispatch </TD>
+<TD class="confluenceTd"> true </TD>
+<TD class="confluenceTd">&nbsp;</TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> useAsyncSend </TD>
+<TD class="confluenceTd"> false </TD>
+<TD class="confluenceTd"> Forces the use of <A href="async-sends.html" title="Async
Sends">Async Sends</A> which adds a massive performance boost; but means that the
send() method will return immediately whether the message has been sent or not which could
lead to message loss. </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> useCompression </TD>
+<TD class="confluenceTd"> false </TD>
+<TD class="confluenceTd"> Enables the use of compression of the message bodies </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> useRetroactiveConsumer </TD>
+<TD class="confluenceTd"> false </TD>
+<TD class="confluenceTd"> Sets whether or not retroactive consumers are enabled. Retroactive
consumers allow non-durable topic subscribers to receive old messages that were published
before the  non-durable subscriber started.</TD>
+</TR>
+</TBODY></TABLE></DIV>
           
                   </DIV>
         </TD>
@@ -255,7 +335,8 @@
     <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 Jun 08, 2006
-                  
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=8624&originalId=8629">view
change</A>)
+              
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=8624">edit
page</A>)
     </DIV>
 



Mime
View raw message