java class in dataweave code example
Example: java class in dataweave
%dw 2.0
import java!utils::MyUtils
output application/json
---
{
a: MyUtils::appendRandom("myString")
}
%dw 2.0
import java!utils::MyUtils
output application/json
---
{
a: MyUtils::appendRandom("myString")
}