Author: buildbot
Date: Wed Sep 26 21:17:33 2012
New Revision: 833108

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/sjms.html

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

Modified: websites/production/camel/content/sjms.html
==============================================================================
--- websites/production/camel/content/sjms.html (original)
+++ websites/production/camel/content/sjms.html Wed Sep 26 21:17:33 2012
@@ -206,6 +206,16 @@ component.setMaxConnections(1);
 
 <p>Coming soon ...</p>
 
+<h4><a shape="rect" name="SJMS-BatchProducer"></a>Batch Producer</h4>
+
+<p>The SjmsProducer supports publishing a collection of messages by creating 
an Exchange that encapsulates a List. This SjmsProducer will take then iterate 
through the contents of the List and publish each message individually.</p>
+
+<p>If when producing a batch of messages there is the need to set headers that 
are unique to each message you can use the SJMS <a shape="rect" 
class="external-link" 
href="https://svn.apache.org/repos/asf/camel/trunk/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/BatchMessage.java";>BatchMessage</a>
 class. When the SjmsProducer encounters a BatchMessage List it will iterate 
each BatchMessage and publish the included payload and headers.</p>
+
+<h4><a shape="rect" 
name="SJMS-CustomizableTransactionCommitStrategies%28LocalJMSTransactionsonly%29"></a>Customizable
 Transaction Commit Strategies (Local JMS Transactions only)</h4>
+
+<p>SJMS provides a developer the means to create a custom and plugable 
transaction strategy through the use of the <a shape="rect" 
class="external-link" 
href="https://svn.apache.org/repos/asf/camel/trunk/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/TransactionCommitStrategy.java";>TransactionCommitStrategy</a>
 interface. This allows a user to define a unique set of circumstances that the 
<a shape="rect" class="external-link" 
href="https://svn.apache.org/repos/asf/camel/trunk/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/tx/SessionTransactionSynchronization.java";>SessionTransactionSynchronization</a>
 will use to determine when to commit the Session. An example of its use is the 
<a shape="rect" class="external-link" 
href="https://svn.apache.org/repos/asf/camel/trunk/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/tx/BatchTransactionCommitStrategy.java";>BatchTransactionCommitStrategy</a>
 which is detailed further i
 n the next section.</p>
+
 <h4><a shape="rect" 
name="SJMS-TransactedBatchConsumers%26Producers"></a>Transacted Batch Consumers 
&amp; Producers</h4>
 
 <p>The SjmsComponent has been designed to support the batching of local JMS 
transactions on both the Producer and Consumer endpoints. How they are handled 
on each is very different though.</p>
@@ -220,9 +230,7 @@ sjms:queue:transacted.batch.consumer?tra
 
 <p>If an exception occurs during the processing of a batch on the consumer 
endpoint, the Session rollback is invoked causing the messages to be 
redelivered to the next available consumer. The counter is also reset to 0 for 
the BatchTransactionCommitStrategy for the associated Session as well. It is 
the responsibility of the user to ensure they put hooks in their processors of 
batch messages to watch for messages with the JMSRedelivered header set to 
true. This is the indicator that messages were rolled back at some point and 
that a verification of a successful processing should occur.</p>
 
-<h4><a shape="rect" 
name="SJMS-CustomizableTransactionCommitStrategies%28LocalJMSTransactionsonly%29"></a>Customizable
 Transaction Commit Strategies (Local JMS Transactions only)</h4>
-
-<p>Coming soon ...</p>
+<p>The producer endpoint is handled much differently though. With the producer 
after each message is delivered to its destination the Exchange is closed and 
there is no longer a reference to that message. To make a available to the 
Given that when a message is delivered to a destinatio</p>
 
 <h4><a shape="rect" name="SJMS-MessageHeaderFormat"></a>Message Header 
Format</h4>
 


Reply via email to