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
The following commit(s) were added to refs/heads/main by this push: new 71fd072 Polish and cleanup documentation 71fd072 is described below commit 71fd07217f50f0faeb96c8a3c37aaa0ca64bc876 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Aug 10 10:45:09 2021 +0200 Polish and cleanup documentation --- docs/user-manual/modules/ROOT/nav.adoc | 1 - .../modules/ROOT/pages/camel-maven-archetypes.adoc | 6 ---- .../creating-a-new-spring-based-camel-route.adoc | 35 ---------------------- docs/user-manual/modules/ROOT/pages/index.adoc | 1 - 4 files changed, 43 deletions(-) diff --git a/docs/user-manual/modules/ROOT/nav.adoc b/docs/user-manual/modules/ROOT/nav.adoc index d0cf80b..e06e0ad 100644 --- a/docs/user-manual/modules/ROOT/nav.adoc +++ b/docs/user-manual/modules/ROOT/nav.adoc @@ -11,7 +11,6 @@ ** xref:camel-report-maven-plugin.adoc[Camel Maven Report Plugin] ** xref:camel-maven-archetypes.adoc[Camel Maven Archetypes] ** xref:configuring-route-startup-ordering-and-autostartup.adoc[Configuring route startup ordering and autostartup] -** xref:creating-a-new-spring-based-camel-route.adoc[Creating a new Spring based Camel Route] ** xref:component-dsl.adoc[Component-dsl] ** xref:Endpoint-dsl.adoc[Endpoint-dsl] ** xref:examples.adoc[Examples] diff --git a/docs/user-manual/modules/ROOT/pages/camel-maven-archetypes.adoc b/docs/user-manual/modules/ROOT/pages/camel-maven-archetypes.adoc index 8de1d00..2cdc339 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-maven-archetypes.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-maven-archetypes.adoc @@ -93,9 +93,3 @@ camel-maven-plugin </pluginRepositories> ---- -[[CamelMavenArchetypes-Examples]] -== Examples - -See xref:creating-a-new-spring-based-camel-route.adoc[Creating a new -Spring based Camel Route] for a sample how to use the -camel-archetype-java and camel-archetype-spring. diff --git a/docs/user-manual/modules/ROOT/pages/creating-a-new-spring-based-camel-route.adoc b/docs/user-manual/modules/ROOT/pages/creating-a-new-spring-based-camel-route.adoc deleted file mode 100644 index d24755e..0000000 --- a/docs/user-manual/modules/ROOT/pages/creating-a-new-spring-based-camel-route.adoc +++ /dev/null @@ -1,35 +0,0 @@ -= Creating a new Spring based Camel Route - -If you want to create your own version of the Spring Example you can -use the maven archetype. - -[source,shell] ----- -mvn archetype:generate \ - -DarchetypeGroupId=org.apache.camel.archetypes \ - -DarchetypeArtifactId=camel-archetype-spring \ - -DarchetypeVersion=1.5.0 \ - -DgroupId=myGroupId \ - -DartifactId=myArtifactId ----- - -*Note*: -DarchetypeVersion=1.5.0 is the version number of Camel. Change -this to the current version of Camel you are using. - -When using camel archetypes, make sure your package name is not -org.apache.camel (or a sub package of this) as this will instruct Camel -to search in its own packages for your routes. This can also cause Camel -not to start, as shown in CAMEL-1197. You can change your package name -by specifying -Dpackage - -This will create a maven project which can be run immediately via the -xref:camel-maven-plugin.adoc[Camel Maven Plugin] as follows - -[source,shell] ----- -cd myArtifactId -mvn camel:run ----- - -The configuration file is in -*src/main/resources/META-INF/spring/camel-context.xml*. diff --git a/docs/user-manual/modules/ROOT/pages/index.adoc b/docs/user-manual/modules/ROOT/pages/index.adoc index 82aef7b..4517717 100644 --- a/docs/user-manual/modules/ROOT/pages/index.adoc +++ b/docs/user-manual/modules/ROOT/pages/index.adoc @@ -64,7 +64,6 @@ camel routes without them knowing * xref:camel-component-maven-plugin.adoc[Camel Component Maven Plugin] to generate all the necessary metadata and Java file for your custom component. * xref:camel-report-maven-plugin.adoc[Camel Maven Report Plugin] to validate your source code and report the code coverage of your camel routes * xref:camel-maven-archetypes.adoc[Camel Maven Archetypes] -* xref:creating-a-new-spring-based-camel-route.adoc[Creating a new Spring based Camel Route] * xref:components::jmx-component.adoc[Camel JMX] * xref:using-osgi-blueprint-with-camel.adoc[Using OSGi blueprint with Camel] * xref:rest-dsl.adoc[Working with REST and Rest DSL]