Skip to content

How To Use Generators

Laurent Broudoux edited this page Sep 21, 2015 · 3 revisions

Generators are provided within features dedicated to specific generation target. For now, we have :

Camel

Launcher

Switches and properties

Property Description Default
camel.xml.generation_target Generation target for your Xml DSL routes. Pick a value from BASE_SPRING for the generic camelContext syntax, BLUEPRINT for the OSGi compliant syntax or SWITCHYARD when using Camel as an SCA/Switchyard implementation component. BASE_SPRING
camel.java.package_name The Java package name where your Camel Java routes will be generated. com.example.mydomain.camel.routes

Spring Integration

Launcher

Switchyard

Launcher

Switches and properties

Property Description Default
switchyard.composite_name The name of the SCA composite to generate a descriptor for. switchyard-mydomain
switchyard.composite_namespace The namespace of the SCA composite to generate a descriptor for. Do not forget versioning information! urn:com.example.switchyard:mydomain:1.0
switchyard.component_impl Choose between CAMEL_JAVA for generating routes using Java DSL and CAMEL_XML for Xml DSL. CAMEL_XML
Clone this wiki locally