16.18. MVEL Expressions

Table 16.4. MVEL Expressions

Expression Result
properties.Order
Use this to obtain the property object named Order
.
attachment.1
Obtains the first attachment object.
attachment.AttachmentOne
Obtains the attachment named AttachmentOne
attachment.1.Order
Obtains getOrder()return object on the attached object.
body.Order1.lineitem
Obtains the object named Order1 from the body of the message. It will then call getLineitem() on this object. More elements can be added to the query in order to traverse the bean graph.