This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 758576cbfe3dace7c735e5c45f8b039bd7b65d90 Author: Claus Ibsen <[email protected]> AuthorDate: Thu Aug 19 09:43:35 2021 +0200 Polish and cleanup documentation --- .../main/docs/modules/eips/pages/rollback-eip.adoc | 25 -------------------- .../modules/eips/pages/transactional-client.adoc | 27 ---------------------- 2 files changed, 52 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/rollback-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/rollback-eip.adoc index 4eb660f..4868261 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/rollback-eip.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/rollback-eip.adoc @@ -116,31 +116,6 @@ from("activemq:queue:foo").policy(requirenew).to("activemq:queue:bar"); from("activemq:queue:foo").policy(notsupported).to("activemq:queue:bar"); ---- -=== OSGi Blueprint - -If you are using xref:latest@manual:ROOT:using-osgi-blueprint-with-camel.adoc[OSGi -Blueprint] then you most likely have to explicit declare a policy and -refer to the policy from the transacted in the route. - -[source,xml] --------------------------------------------------------- -<bean id="required" class="org.apache.camel.spring.spi.SpringTransactionPolicy"> - <property name="transactionManager" ref="jmsTransactionManager"/> - <property name="propagationBehaviorName" value="PROPAGATION_REQUIRED"/> -</bean> --------------------------------------------------------- - -And then refer to "required" from the route: - -[source,xml] --------------------------------------------------------- -<route> - <from uri="activemq:queue:foo"/> - <transacted ref="required"/> - <to uri="activemq:queue:bar"/> -</route> --------------------------------------------------------- - == Database Sample In this sample we want to ensure that two endpoints is under transaction diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/transactional-client.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/transactional-client.adoc index f36bd43..b7a1353 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/transactional-client.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/transactional-client.adoc @@ -106,33 +106,6 @@ from("activemq:queue:foo").policy(notsupported) .to("activemq:queue:bar"); ---- -[[TransactionalClient-OSGiBlueprint]] -== OSGi Blueprint - -If you are using -xref:latest@manual:ROOT:using-osgi-blueprint-with-camel.adoc[OSGi Blueprint] -then you most likely have to explicit declare a policy and -refer to the policy from the transacted in the route. - -[source,xml] ----- -<bean id="required" class="org.apache.camel.spring.spi.SpringTransactionPolicy"> - <property name="transactionManager" ref="jmsTransactionManager"/> - <property name="propagationBehaviorName" value="PROPAGATION_REQUIRED"/> -</bean> ----- - -And then refer to "required" from the route: - -[source,xml] ----- -<route> - <from uri="activemq:queue:foo"/> - <transacted ref="required"/> - <to uri="activemq:queue:bar"/> -</route> ----- - [[TransactionalClient-DatabaseSample]] == Database Sample
