Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
java
java
"'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.

...