activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r855566 - in /websites/production/activemq/content: cache/main.pageCache how-do-i-embed-a-broker-inside-a-connection.html
Date Fri, 22 Mar 2013 13:21:48 GMT
Author: buildbot
Date: Fri Mar 22 13:21:47 2013
New Revision: 855566

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/how-do-i-embed-a-broker-inside-a-connection.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/how-do-i-embed-a-broker-inside-a-connection.html
==============================================================================
--- websites/production/activemq/content/how-do-i-embed-a-broker-inside-a-connection.html
(original)
+++ websites/production/activemq/content/how-do-i-embed-a-broker-inside-a-connection.html
Fri Mar 22 13:21:47 2013
@@ -188,15 +188,23 @@ BrokerService broker = BrokerFactory.cre
 
 <h3><a shape="rect" name="HowdoIembedaBrokerinsideaConnection-UsingActiveMQConnectionFactory"></a>Using
ActiveMQConnectionFactory </h3>
 
-<p>An embedded broker can also be created  using an ActiveMQConnectionFactory and using
a vm connector as a uri. e.g. ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");</p>
+<p>An embedded broker can also be created  using an ActiveMQConnectionFactory and using
a vm connector as a uri. e.g. </p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+ActiveMQConnectionFactory cf = <span class="code-keyword">new</span> ActiveMQConnectionFactory(<span
class="code-quote">"vm:<span class="code-comment">//localhost?broker.persistent=<span
class="code-keyword">false</span>"</span>);</span>
+</pre>
+</div></div>
 
-<p>Use the query "broker.&lt;property&gt;" to configure the broker.</p>
+<p>Use the query parameters "broker.&lt;property&gt;" to configure the broker,
where &lt;property&gt; matches the bean properties on the BrokerService.</p>
 
-<p>The broker will be created upon creation of a connection. </p>
+<p>The broker will be created upon creation of the first connection. </p>
 
 <p>You can turn off auto creation by setting the create property on the VM Transport
to false:</p>
-
-<p>ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory("vm://localhost?create=false");</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+ActiveMQConnectionFactory cf = <span class="code-keyword">new</span> ActiveMQConnectionFactory(<span
class="code-quote">"vm:<span class="code-comment">//localhost?create=<span class="code-keyword">false</span>"</span>);</span>
+</pre>
+</div></div>
           </div>
         </td>
         <td valign="top">



Mime
View raw message