Versions Compared

Key

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

Given below are Synapse message context properties.

Table of Contents
maxLevel4
minLevel4
typeflat

Property: SYSTEM_DATE

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. e.g. synapse:get-property("SYSTEM_DATE", "yyyy.MM.dd G 'at' HH:mm:ss z") or get-property('SYSTEM_DATE').

Example

 

Property: SYSTEM_TIME

Name

SYSTEM_TIME

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.

Example

 

Properties: To, From, Action, FaultTo, ReplyTo, MessageID

Names

To, From, Action, FaultTo, ReplyTo, MessageID

Possible Values

 

Default Behavior

 

Scope

 

Description

The message To, Action and WS-Addressing properties.

Example

 

Property: MESSAGE_FORMAT

Names

MESSAGE_FORMAT

Possible Values

 

Default Behavior

 

Scope

 

Description

Returns the message format, i.e. returns pox, get, soap11 or soap12.

Example

 

Property: OperationName

Names

OperationName

Possible Values

 

Default Behavior

 

Scope

 

Description

Returns the operation name for the message.

Example