variable transformer in mulesoft

6
VARIABLE TRANSFORMER IN MULESOFT

Upload: jitendra-bafna

Post on 21-Feb-2017

55 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Variable Transformer in Mulesoft

VARIABLE TRANSFORMER IN MULESOFT

Page 2: Variable Transformer in Mulesoft

WHAT IS VARIABLE TRANSFORMER IN MULE?

Variable transformer is used to set or remove a variable on message. The scope

variables is limited to the flow where it is set, when message leaves the flow, the

variable doesn’t carry to next flow or application.

Types of Variable Transformer

Flow Variable Transformer

Session Variable Transformer

Property Transformer

Page 3: Variable Transformer in Mulesoft

FLOW VARIABLE TRANSFORMER

Flow variable transformer is used to set or remove the variable tied to message

in current flow. Variables set by flow variable transformer is persist for the

current flow and cannot cross the transport barrier.

Flow variable can be accessed in current flow, calling flow (sub flow/private

flow) and even their child flow.

Page 4: Variable Transformer in Mulesoft

SESSION VARIABLE TRANSFORMER

Session variable transformer is used to set or remove the variable tied to

current message for its entire lifecycle, across multiple flows and even servers.

Variables set by session variable transformer is persist for the entire lifecycle

regardless of transport barrier.

Session variable can be accessed in current flow, calling/child, flow within entire

project and even JVM systems.

Page 5: Variable Transformer in Mulesoft

PROPERTY TRANSFORMER

Property transformer is used to set, remove or copy the properties on outbound

scope of a message.

Once a message hits an outbound-connector, all properties in the outbound

scope are sent with the message, in the form of transport-specific metadata

(HTTP headers for an HTTP outbound-connector, for example).

Page 6: Variable Transformer in Mulesoft

THANK YOU