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:42 UTC
[camel] 01/02: Regen
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 a335931e99e14f81b10b7a75c8b58b9e9a442601
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 9 11:48:43 2018 +0100
Regen
---
camel-core/src/main/docs/eips/process-eip.adoc | 3 +--
camel-core/src/main/docs/eips/rollback-eip.adoc | 31 ++++++------------------
camel-core/src/main/docs/eips/to-eip.adoc | 3 +--
camel-core/src/main/docs/eips/toD-eip.adoc | 1 -
camel-core/src/main/docs/eips/transform-eip.adoc | 2 +-
5 files changed, 11 insertions(+), 29 deletions(-)
diff --git a/camel-core/src/main/docs/eips/process-eip.adoc b/camel-core/src/main/docs/eips/process-eip.adoc
index 3dc8d23..aaca6dd 100644
--- a/camel-core/src/main/docs/eips/process-eip.adoc
+++ b/camel-core/src/main/docs/eips/process-eip.adoc
@@ -8,7 +8,6 @@ The http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Pr
// eip options: START
The Process EIP supports 1 options which are listed below:
-
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
@@ -103,4 +102,4 @@ link:writing-components.html[Writing Components]
* link:https://github.com/apache/camel/blob/master/camel-core/src/main/docs/eips/message-translator.adoc[Message Translator]
* link:https://github.com/apache/camel/blob/master/camel-core/src/main/docs/eips/enrich-eip.adoc[Content Enricher-Enrich EIP]
* link:https://github.com/apache/camel/blob/master/camel-core/src/main/docs/eips/pollEnrich-eip.adoc[Content Enricher-Poll Enrich EIP]
-* link:https://github.com/apache/camel/blob/master/camel-core/src/main/docs/eips/content-filter.adoc[Content Filter]
\ No newline at end of file
+* link:https://github.com/apache/camel/blob/master/camel-core/src/main/docs/eips/content-filter.adoc[Content Filter]
diff --git a/camel-core/src/main/docs/eips/rollback-eip.adoc b/camel-core/src/main/docs/eips/rollback-eip.adoc
index 2222a74..fe6cd14 100644
--- a/camel-core/src/main/docs/eips/rollback-eip.adoc
+++ b/camel-core/src/main/docs/eips/rollback-eip.adoc
@@ -1,5 +1,4 @@
-[[rollback-eip]]
-
+== Rollback EIP
Rollback might be needed if there is a transaction or transactional pieces in your design.
Camel recommends supporting the
@@ -54,9 +53,7 @@ component.getConfiguration().setConcurrentConsumers(1);
ctx.addComponent("activemq", component);
----
-[[TransactionalClient-TransactionPolicies]]
-Transaction Policies
-++++++++++++++++++++
+==== Transaction Policies
Outbound endpoints will automatically enlist in the current transaction
context. But what if you do not want your outbound endpoint to enlist in
@@ -102,9 +99,7 @@ from("activemq:queue:foo").policy(requirenew).to("activemq:queue:bar");
from("activemq:queue:foo").policy(notsupported).to("activemq:queue:bar");
----
-[[TransactionalClient-OSGiBlueprint]]
-OSGi Blueprint
-++++++++++++++
+==== OSGi Blueprint
If you are using link:https://github.com/apache/camel/blob/master/docs/user-manual/en/using-osgi-blueprint-with-camel.adoc[OSGi
Blueprint] then you most likely have to explicit declare a policy and
@@ -129,9 +124,7 @@ And then refer to "required" from the route:
</route>
--------------------------------------------------------
-[[TransactionalClient-DatabaseSample]]
-Database Sample
-^^^^^^^^^^^^^^^
+=== Database Sample
In this sample we want to ensure that two endpoints is under transaction
control. These two endpoints inserts data into a database. +
@@ -162,9 +155,7 @@ is all that is needed to configure a Camel route as being transacted.
Just remember to use the *transacted* DSL. The rest is standard Spring
XML to setup the transaction manager.
-[[TransactionalClient-JMSSample]]
-JMS Sample
-^^^^^^^^^^
+=== JMS Sample
In this sample we want to listen for messages on a queue and process the
messages with our business logic java code and send them along. Since
@@ -188,9 +179,7 @@ feature set as the link:defaulterrorhandler.html[DefaultErrorHandler],
so you can for instance use link:exception-clause.html[Exception Clause]
as well.
-[[TransactionalClient-IntegrationTestingwithSpring]]
-Integration Testing with Spring
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+=== Integration Testing with Spring
An Integration Test here means a test runner class annotated
`@RunWith(SpringJUnit4ClassRunner.class).`
@@ -217,9 +206,7 @@ test thread and expecting a separate thread created by your Camel route
to be participate, which it cannot. You can, in your test, mock the
parts that cause separate threads to avoid this issue.
-[[TransactionalClient-Usingmultiplerouteswithdifferentpropagationbehaviors]]
-Using multiple routes with different propagation behaviors
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+=== Using multiple routes with different propagation behaviors
*Available as of Camel 2.2* +
Suppose you want to route a message through two routes and by which the
@@ -239,9 +226,7 @@ case of any exceptions we should handle it and just rollback this
transaction. This is done using the `markRollbackOnlyLast` which tells
Camel to only do it for the current transaction and not globally.
-[[TransactionalClient-SeeAlso]]
-See Also
-++++++++
+==== See Also
* link:error-handling-in-camel.html[Error handling in Camel]
* link:transactionerrorhandler.html[TransactionErrorHandler]
diff --git a/camel-core/src/main/docs/eips/to-eip.adoc b/camel-core/src/main/docs/eips/to-eip.adoc
index 464f099..11a46e9 100644
--- a/camel-core/src/main/docs/eips/to-eip.adoc
+++ b/camel-core/src/main/docs/eips/to-eip.adoc
@@ -15,7 +15,6 @@ See message related documentation
// eip options: START
The To EIP supports 3 options which are listed below:
-
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
@@ -88,4 +87,4 @@ And here we use `<to>` with the `pattern` attribute to set the exchange pattern:
<from uri="direct:startInOut"/>
<to pattern="InOut" uri="bean:process"/>
</route>
-----
\ No newline at end of file
+----
diff --git a/camel-core/src/main/docs/eips/toD-eip.adoc b/camel-core/src/main/docs/eips/toD-eip.adoc
index 90aca44..21b08b8 100644
--- a/camel-core/src/main/docs/eips/toD-eip.adoc
+++ b/camel-core/src/main/docs/eips/toD-eip.adoc
@@ -12,7 +12,6 @@ the endpoint.
// eip options: START
The To D EIP supports 4 options which are listed below:
-
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
diff --git a/camel-core/src/main/docs/eips/transform-eip.adoc b/camel-core/src/main/docs/eips/transform-eip.adoc
index 7f9fc4f..ab0ac79 100644
--- a/camel-core/src/main/docs/eips/transform-eip.adoc
+++ b/camel-core/src/main/docs/eips/transform-eip.adoc
@@ -8,5 +8,5 @@ See below for details
=== Options
// eip options: START
-The Transform EIP supports 0 options which are listed below:
+The Transform EIP has no options.
// eip options: END
--
To stop receiving notification emails like this one, please contact
acosentino@apache.org.