This evaluator allows for predefined functions
to be called and returns a result. The functions it supports are:
- now - Returns a
Timestamp
with the current time.
- date - Returns a
Date
with the current time.
- dateStamp - Returns a
String
that contains the current date formatted according to FunctionExpressionEvaluator.DEFAULT_DATE_FORMAT
.
- dateStamp-dd-MM-yyyy - Returns a
String
that contains the current date formatted according to the format passed into the function.
- uuid - Returns a globally unique identifier
- hostname - Returns the hostname of the machine Mule is running on
- ip - Returns the IP address of the machine Mule is running on
- count - Returns a local count that will increment for each call. If the server is restarted, the counter will return to zero.
- payloadClass - Returns a fuly qualified class name of the payload as a string.
- shortPayloadClass - Returns just the class name of the payload as a string.