Versions Compared

Key

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

...

Name

ERROR_MESSAGE

Possible Values

string

Default Behavior

none

Scope

synapse

Description

Use this property to set a custom error message on a message which can be later processed by a Synapse fault handler. If the Synapse encounters an error during mediation or routing, this property will be automatically populated.

Example

Code Block
<log level="custom">
 <property name="Cause" valueexpression="get-property('ERROR_MESSAGE')"/>
</log>

...

Name

ERROR_DETAIL

Possible Values

string

Default Behavior

none

Scope

synapse

Description

Use this property to set the exception stacktrace in case of an error. If the ESB encounters an error during mediation or routing, this property will be automatically populated.

Example

Code Block
<log level="custom">
 <property name="Trace" valueexpression="get-property('ERROR_DETAIL')"/>
</log>

...