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.<property>" to configure the broker.</p>
+<p>Use the query parameters "broker.<property>" to configure the broker,
where <property> 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">