Synapse Message Context Properties¶
Info
The following are message context properties that can be used with the Property mediator and the Property Group mediator.
The Synapse message context properties allow you to get information
about the message, such as the date/time it was sent, the message
format, and the message operation. You can use the
get-property()
function in the Property mediator with the scope set to
Synapse
to retrieve these properties.
SYSTEM_DATE¶
Parameter | Description |
---|---|
Name |
SYSTEM_DATE |
Possible Values |
- |
Default Behavior |
- |
Scope |
- |
Description |
Returns the current date as a String. Optionally, a date format as per the standard date format may be supplied by entering the following in the Namespaced Property Editor: get-property("SYSTEM_DATE", "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
|
SYSTEM_TIME¶
Parameter | Description |
---|---|
Name | |
Possible Values | |
Default Behavior | |
Scope | |
Description | Returns the current time in milliseconds, i.e. the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC. |
To, From, Action, FaultTo, ReplyTo, MessageID¶
Parameter | Description |
---|---|
Names | To, From, Action, FaultTo, ReplyTo, MessageID |
Possible Values | - |
Default Behavior | - |
Scope | - |
Description | The message To, Action and WS-Addressing properties. |
MESSAGE_FORMAT¶
Parameter | Description |
---|---|
Names | MESSAGE_FORMAT |
Possible Values | - |
Default Behavior | - |
Scope | - |
Description | Returns the message format, i.e. returns pox, get, soap11 or soap12. |
OperationName¶
Parameter | Description |
---|---|
Names | OperationName |
Possible Values | - |
Default Behavior | - |
Scope | - |
Description | Returns the operation name for the message. |