You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class TransformClass {
/** contents of DWL transformation will be pasted as comments*/
public static TransformClass transform(Object payload) {
}
}
If you look at the above TransformClass there is only access to payload not headers
We need provision to access both headers and payload whilst transformation.
Why it needs to be done
In mule transformations, there will be instances where we need to access headers and payload whilst performing translations. This is evident from client applications that we have encountered where this pattern is used prolifically.
labels: ["in: mule-3.9"]
What needs to be done
Currently, DWL transformations are translated as below
Sample input
Generates following translation/output:
If you look at the above
TransformClass
there is only access to payload not headersWe need provision to access both headers and payload whilst transformation.
Why it needs to be done
In mule transformations, there will be instances where we need to access headers and payload whilst performing translations. This is evident from client applications that we have encountered where this pattern is used prolifically.
Additional Information
Possible solution can be found here.
The text was updated successfully, but these errors were encountered: