camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r830961 - in /websites/production/camel/content: activemq.html book-component-appendix.html book-in-one-page.html cache/main.pageCache
Date Mon, 03 Sep 2012 09:20:20 GMT
Author: buildbot
Date: Mon Sep  3 09:20:20 2012
New Revision: 830961

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/activemq.html
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache

Modified: websites/production/camel/content/activemq.html
==============================================================================
--- websites/production/camel/content/activemq.html (original)
+++ websites/production/camel/content/activemq.html Mon Sep  3 09:20:20 2012
@@ -182,7 +182,6 @@ camelContext.addComponent(<span class="c
 &lt;bean id=<span class="code-quote">"pooledConnectionFactory"</span> 
    class=<span class="code-quote">"org.apache.activemq.pool.PooledConnectionFactory"</span>
init-method=<span class="code-quote">"start"</span> destroy-method=<span class="code-quote">"stop"</span>&gt;
    <span class="code-tag">&lt;property name=<span class="code-quote">"maxConnections"</span>
value=<span class="code-quote">"8"</span> /&gt;</span>
-   <span class="code-tag">&lt;property name=<span class="code-quote">"maximumActive"</span>
value=<span class="code-quote">"500"</span> /&gt;</span>
    <span class="code-tag">&lt;property name=<span class="code-quote">"connectionFactory"</span>
ref=<span class="code-quote">"jmsConnectionFactory"</span> /&gt;</span>
 <span class="code-tag">&lt;/bean&gt;</span>
 
@@ -201,6 +200,8 @@ camelContext.addComponent(<span class="c
 
 <div class="panelMacro"><table class="noteMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">Notice
the <b>init</b> and <b>destroy</b> methods on the pooled connection
factory. This is important to ensure the connection pool is properly started and shutdown.</td></tr></table></div>
 
+<p>The <tt>PooledConnectionFactory</tt> will then create a connection pool
with up to 8 connections in use at the same time. Each connection can be shared by many sessions.
There is an option named <tt>maxActive</tt> you can use to configure the maximum
number of sessions per connection; the default value is <tt>500</tt>. From <b>ActiveMQ
5.7</b> onwards the option has been renamed to better reflect its purpose, being named
as <tt>maxActiveSessionPerConnection</tt>. Notice the <tt>concurrentConsumers</tt>
is set to a higher value than <tt>maxConnections</tt> is. This is okay, as each
consumer is using a session, and as a session can share the same connection, we are in the
safe. In this example we can have 8 * 500 = 4000 active sessions at the same time.</p>
+
 <h3><a shape="rect" name="ActiveMQ-InvokingMessageListenerPOJOsinaCamelroute"></a>Invoking
MessageListener POJOs in a Camel route</h3>
 
 <p>The ActiveMQ component also provides a helper <a shape="rect" href="type-converter.html"
title="Type Converter">Type Converter</a> from a JMS MessageListener to a <a shape="rect"
href="processor.html" title="Processor">Processor</a>. This means that the <a
shape="rect" href="bean.html" title="Bean">Bean</a> component is capable of invoking
any JMS MessageListener bean directly inside any route.</p>

Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Mon Sep  3 09:20:20 2012
@@ -186,7 +186,6 @@ camelContext.addComponent(<span class="c
 &lt;bean id=<span class="code-quote">"pooledConnectionFactory"</span> 
    class=<span class="code-quote">"org.apache.activemq.pool.PooledConnectionFactory"</span>
init-method=<span class="code-quote">"start"</span> destroy-method=<span class="code-quote">"stop"</span>&gt;
    <span class="code-tag">&lt;property name=<span class="code-quote">"maxConnections"</span>
value=<span class="code-quote">"8"</span> /&gt;</span>
-   <span class="code-tag">&lt;property name=<span class="code-quote">"maximumActive"</span>
value=<span class="code-quote">"500"</span> /&gt;</span>
    <span class="code-tag">&lt;property name=<span class="code-quote">"connectionFactory"</span>
ref=<span class="code-quote">"jmsConnectionFactory"</span> /&gt;</span>
 <span class="code-tag">&lt;/bean&gt;</span>
 
@@ -205,6 +204,8 @@ camelContext.addComponent(<span class="c
 
 <div class="panelMacro"><table class="noteMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">Notice
the <b>init</b> and <b>destroy</b> methods on the pooled connection
factory. This is important to ensure the connection pool is properly started and shutdown.</td></tr></table></div>
 
+<p>The <tt>PooledConnectionFactory</tt> will then create a connection pool
with up to 8 connections in use at the same time. Each connection can be shared by many sessions.
There is an option named <tt>maxActive</tt> you can use to configure the maximum
number of sessions per connection; the default value is <tt>500</tt>. From <b>ActiveMQ
5.7</b> onwards the option has been renamed to better reflect its purpose, being named
as <tt>maxActiveSessionPerConnection</tt>. Notice the <tt>concurrentConsumers</tt>
is set to a higher value than <tt>maxConnections</tt> is. This is okay, as each
consumer is using a session, and as a session can share the same connection, we are in the
safe. In this example we can have 8 * 500 = 4000 active sessions at the same time.</p>
+
 <h3><a shape="rect" name="BookComponentAppendix-InvokingMessageListenerPOJOsinaCamelroute"></a>Invoking
MessageListener POJOs in a Camel route</h3>
 
 <p>The ActiveMQ component also provides a helper <a shape="rect" href="type-converter.html"
title="Type Converter">Type Converter</a> from a JMS MessageListener to a <a shape="rect"
href="processor.html" title="Processor">Processor</a>. This means that the <a
shape="rect" href="bean.html" title="Bean">Bean</a> component is capable of invoking
any JMS MessageListener bean directly inside any route.</p>

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Mon Sep  3 09:20:20 2012
@@ -20640,7 +20640,6 @@ camelContext.addComponent(<span class="c
 &lt;bean id=<span class="code-quote">"pooledConnectionFactory"</span> 
    class=<span class="code-quote">"org.apache.activemq.pool.PooledConnectionFactory"</span>
init-method=<span class="code-quote">"start"</span> destroy-method=<span class="code-quote">"stop"</span>&gt;
    <span class="code-tag">&lt;property name=<span class="code-quote">"maxConnections"</span>
value=<span class="code-quote">"8"</span> /&gt;</span>
-   <span class="code-tag">&lt;property name=<span class="code-quote">"maximumActive"</span>
value=<span class="code-quote">"500"</span> /&gt;</span>
    <span class="code-tag">&lt;property name=<span class="code-quote">"connectionFactory"</span>
ref=<span class="code-quote">"jmsConnectionFactory"</span> /&gt;</span>
 <span class="code-tag">&lt;/bean&gt;</span>
 
@@ -20659,6 +20658,8 @@ camelContext.addComponent(<span class="c
 
 <div class="panelMacro"><table class="noteMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">Notice
the <b>init</b> and <b>destroy</b> methods on the pooled connection
factory. This is important to ensure the connection pool is properly started and shutdown.</td></tr></table></div>
 
+<p>The <tt>PooledConnectionFactory</tt> will then create a connection pool
with up to 8 connections in use at the same time. Each connection can be shared by many sessions.
There is an option named <tt>maxActive</tt> you can use to configure the maximum
number of sessions per connection; the default value is <tt>500</tt>. From <b>ActiveMQ
5.7</b> onwards the option has been renamed to better reflect its purpose, being named
as <tt>maxActiveSessionPerConnection</tt>. Notice the <tt>concurrentConsumers</tt>
is set to a higher value than <tt>maxConnections</tt> is. This is okay, as each
consumer is using a session, and as a session can share the same connection, we are in the
safe. In this example we can have 8 * 500 = 4000 active sessions at the same time.</p>
+
 <h3><a shape="rect" name="BookInOnePage-InvokingMessageListenerPOJOsinaCamelroute"></a>Invoking
MessageListener POJOs in a Camel route</h3>
 
 <p>The ActiveMQ component also provides a helper <a shape="rect" href="type-converter.html"
title="Type Converter">Type Converter</a> from a JMS MessageListener to a <a shape="rect"
href="processor.html" title="Processor">Processor</a>. This means that the <a
shape="rect" href="bean.html" title="Bean">Bean</a> component is capable of invoking
any JMS MessageListener bean directly inside any route.</p>

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



Mime
View raw message