Apache Camel stores routes in an XML file containing a
camelContext element. Fuse IDE includes a
wizard that simplifies adding a Apache Camel context file to your project.
To add a Apache Camel context file to your project:
Select any item in your routing project from the Project Explorer.
Open the context menu.
Select |.
The Camel XML File wizard opens.
![[Tip]](imagesdb/tip.gif)
Tip If the option is not in the menu, you can find it by selecting | to open the New wizard filter. Camel XML File is under Fuse IDE.
Enter the location for the new context file in the Container field.
![[Tip]](imagesdb/tip.gif)
Tip The button opens the Eclipse project explorer dialog.
![[Note]](imagesdb/note.gif)
Note If you are using Spring, the new file should be placed in
.projectName/src/main/resources/META-INF/spring/Enter a name for the new context file.
Select the framework the routes will use:
Spring—useful for routes that are deployed in Spring containers, standalone, or non-OSGi containers
OSGi Blueprint—useful for routes that are deployed in OSGi containers
Click .
The new context file is added to the project and opened in the Fuse IDE route editor.








