You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/12/05 13:17:23 UTC

[camel] 10/12: CAMEL-11492: Fix headings

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

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

commit a972a08e30e5a42229bccea1969b300afc144e2a
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Nov 26 15:32:28 2018 +0000

    CAMEL-11492: Fix headings
---
 .../camel-scala/src/main/docs/scala-supported-languages.adoc   |  9 +++------
 components/camel-sql/src/main/docs/sql-component.adoc          | 10 +++++-----
 2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/components/camel-scala/src/main/docs/scala-supported-languages.adoc b/components/camel-scala/src/main/docs/scala-supported-languages.adoc
index 418d317..145fbd4 100644
--- a/components/camel-scala/src/main/docs/scala-supported-languages.adoc
+++ b/components/camel-scala/src/main/docs/scala-supported-languages.adoc
@@ -1,6 +1,5 @@
 [[ScalaDSL-SupportedLanguages]]
-Scala DSL Supported Languages
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+== Scala DSL Supported Languages
 
 Support for other languages inside the Scala DSL
 routes is delivered through traits. The
@@ -12,8 +11,7 @@ You can use any of the supported Camel Languages in
 the Scala DSL; see below for a couple of examples:
 
 [[ScalaDSL-Supportedlanguages-Using]]
-Using <<xpath-language,XPath>>
-++++++++++++++++++++++++++++
+=== Using <<xpath-language,XPath>>
 
 With the XPath trait, you have an additional method available on an
 `Exchange` to do XPath queries against the message. Just look at this
@@ -21,8 +19,7 @@ Splitter example, where the `xpath` method is used in a
 `Exchange ⇒ Any*` function literal
 
 [[ScalaDSL-Supportedlanguages-Using.1]]
-Using <<jxpath-language,JXPath>>
-++++++++++++++++++++++++++++++
+=== Using <<jxpath-language,JXPath>>
 
 With the `org.apache.camel.scala.dsl.languages.JXPath` trait, you can an
 additional `jxpath` method on the `Exchange`. In the Recipient List
diff --git a/components/camel-sql/src/main/docs/sql-component.adoc b/components/camel-sql/src/main/docs/sql-component.adoc
index 4a5c590..b98bc04 100644
--- a/components/camel-sql/src/main/docs/sql-component.adoc
+++ b/components/camel-sql/src/main/docs/sql-component.adoc
@@ -607,7 +607,7 @@ Here is the SQL query used to create the tables, just replace
 `"aggregation"` with your aggregator repository name.
 
 [source,sql]
------
+----
 CREATE TABLE aggregation (
  id varchar(255) NOT NULL,
  exchange blob NOT NULL,
@@ -618,7 +618,7 @@ CREATE TABLE aggregation_completed (
  exchange blob NOT NULL,
  constraint aggregation_completed_pk PRIMARY KEY (id)
 );
------
+----
 
 
 === Storing body and headers as text
@@ -761,7 +761,7 @@ Here is an example, where we define 2 extra FQN class names from the
 JDBC vendor.
 
 [source,xml]
------
+----
 <bean id="repo"
 class="org.apache.camel.processor.aggregate.jdbc.JdbcAggregationRepository">
   <property name="transactionManager" ref="transactionManager"/>
@@ -778,7 +778,7 @@ class="org.apache.camel.processor.aggregate.jdbc.JdbcAggregationRepository">
     </util:set>
   </property>
 </bean>
------
+----
 
 === Camel Sql Starter
 
@@ -786,7 +786,7 @@ A starter module is available to spring-boot users. When using the starter,
 the `DataSource` can be directly configured using spring-boot properties.
 
 [source,text]
------
+----
 # Example for a mysql datasource
 spring.datasource.url=jdbc:mysql://localhost/test
 spring.datasource.username=dbuser