Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ In a clustered deployment, you can view the list of WSO2 Integrator: MI instance

To enable observability for the WSO2 Integrator: MI servers, add the following Synapse handler to the `deployment.toml` file (stored in the `<MI_HOME>/conf/` folder).

### Step 1.5 - Enable XML Declaration in Payloads

If you want your outgoing messages to include the XML declaration, add the following Axis2 property to your Synapse configuration:

```xml
<property name="WRITE_XML_DECLARATION" scope="axis2" value="true"/>


```toml
[[synapse_handlers]]
name="CustomObservabilityHandler"
Expand Down
40 changes: 40 additions & 0 deletions en/docs/reference/mediators/common-mediator-attributes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
\# Common Mediator Attributes



Some attributes are common to all mediators in WSO2 Integrator: MI. These attributes are used to improve the readability and maintainability of mediation logic and do not change the functional behavior of the mediator.



\## description



The `description` attribute can be used with any mediator to provide a human-readable explanation of what the mediator does.



\### Purpose

\- Improves readability of mediation flows

\- Helps developers and operators understand configurations easily

\- Does not affect runtime behavior



\### Usage example



```xml

<log description="Logs the incoming request payload">

&nbsp; <property name="message" value="Request received"/>

</log>



22 changes: 22 additions & 0 deletions en/docs/reference/mediators/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
\# Mediators



This section contains documentation for all WSO2 Micro Integrator mediators.



\## Common Attributes



All mediators support a common set of common attributes that are mainly used for

documentation and readability purposes.



\- \[Common Mediator Attributes](common-mediator-attributes.md)