Kelas Java di DataWeave
%dw 2.0
import java!utils::MyUtils
output application/json
---
{
a: MyUtils::appendRandom("myString")
}
Frail Flatworm
%dw 2.0
import java!utils::MyUtils
output application/json
---
{
a: MyUtils::appendRandom("myString")
}