This property extractor doesn't actually extract a property from the message, instead it allows for certain functions
to be called and returns a result. The functions it supports are -
- now - returns an
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 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 re-started 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