*/
public static <T> T getMandatoryOutBody(Exchange exchange, Class<T> type) throws InvalidPayloadException {
Message out = exchange.getOut();
T answer = out.getBody(type);
if (answer == null) {
throw new InvalidPayloadException(exchange, type, out);
}
return answer;
}