New Camel XML File
Name
New Camel XML File — Creates a new XML file for editing routes with the route editor
Properties
Table A.1 describes the properties you can specify.
Name | Default | Description |
---|---|---|
RouteContainer | Specifies the folder into which the new file will be placed. | |
File Name | camelContext.xml | Specifies the name of the new routing context file. |
Framework | Spring | Specifies whether the context file is intended to be used in a Spring container or in an OSGi container that supports Blueprint or to be added to into existing camelContext s. |
Important
The Spring framework and the OSGi Blueprint framework require that all Apache Camel files be placed in specific locations under the project's
META-INF
folder:
- Spring—
projectName /src/main/resources/META-INF/spring/
- OSGi Blueprint—
projectName /src/main/resources/META-INF/blueprint/
Related topics
Chapter 6, Creating a New Camel XML file |