Ce contenu n'est pas disponible dans la langue sélectionnée.
19.7. Generated Configuration
SwitchYard is capable of generating configurations from annotations in an application code. This negates the need to edit the XML configuration manually. The generated configuration is packaged with the application as part of the Maven build life cycle. It is located in
target/classes/META-INF/switchyard.xml
. (You may also place a descriptor in src/main/resources/META-INF/switchyard.xml
.)
This version of the configuration can be edited by the user directly and is also used by Forge tooling to specify configuration in response to SwitchYard forge commands. During the build process, the user-editable
switchyard.xml
is merged with any generated configuration to produce the final switchyard.xml
in the target/
directory.