Вызов веб-службы soap и проверка состояния http ответа веб-службы с помощью сценария groovy. В Mule 3 сценарий groovy - это ...
def httpStatus = message.getInboundProperty('http.status')
if (httpStatus == '400') {
throw new Exception('Bad Request');
}
return payload;
Что эквивалентно в Mule 4? Спасибо.