Copies variables from Camel into Activiti.
This method will copy the Camel body to the "camelBody" variable. It will copy the Camel body to individual variables within Activiti if it is of type
Map<String, Object> or it will copy the Object as it comes.
- If the copyVariablesFromProperties parameter is set on the endpoint, the properties are copied instead
- If the copyCamelBodyToBodyAsString parameter is set on the endpoint, the camelBody is converted to java.lang.String and added as a camelBody variable,
unless it is a Map<String, Object>
- If the copyVariablesFromHeader parameter is set on the endpoint, each Camel Header will be copied to an individual variable within Activiti.