THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
"'mail-incident-' + inrequest.body.incidentId + '.txt'" |
where request.body.incidentId
computes to:
- in request is a predefined object in the OGNLContext that Camel setthe IN message. See the OGNL for other predefined objects available
- body is the body of the in message
- incidentId will invoke the
getIncidentId()
method on the body.
The rest is just more or less regular plain code where we can concat strings.
...