You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/03/09 10:59:43 UTC

[camel] 02/02: Added options section to rollback EIP docs

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 356989363ea7b0bba23c2192fa6d1df47b8d7717
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 9 11:52:02 2018 +0100

    Added options section to rollback EIP docs
---
 camel-core/src/main/docs/eips/rollback-eip.adoc | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/camel-core/src/main/docs/eips/rollback-eip.adoc b/camel-core/src/main/docs/eips/rollback-eip.adoc
index fe6cd14..c3464d5 100644
--- a/camel-core/src/main/docs/eips/rollback-eip.adoc
+++ b/camel-core/src/main/docs/eips/rollback-eip.adoc
@@ -1,3 +1,4 @@
+[[rollback-eip]]
 == Rollback EIP
 Rollback might be needed if there is a transaction or transactional pieces in your design.
 
@@ -53,6 +54,19 @@ component.getConfiguration().setConcurrentConsumers(1);
 ctx.addComponent("activemq", component);
 ----
 
+=== Options
+// eip options: START
+The Rollback EIP supports 3 options which are listed below:
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *markRollbackOnly* | Mark the transaction for rollback only (cannot be overruled to commit) | false | Boolean
+| *markRollbackOnlyLast* | Mark only last sub transaction for rollback only. When using sub transactions (if the transaction manager support this) | false | Boolean
+| *message* | Message to use in rollback exception |  | String
+|===
+// eip options: END
+
 ==== Transaction Policies
 
 Outbound endpoints will automatically enlist in the current transaction
@@ -234,4 +248,4 @@ Camel to only do it for the current transaction and not globally.
 * link:https://github.com/apache/camel/blob/master/components/camel-jms/src/main/docs/jms-component.adoc[JMS]
 * link:https://github.com/apache/camel/blob/master/docs/user-manual/en/oncompletion.adoc[On Completion]
 
-link:using-this-pattern.html[Using This Pattern]
\ No newline at end of file
+link:using-this-pattern.html[Using This Pattern]

-- 
To stop receiving notification emails like this one, please contact
acosentino@apache.org.