// Uses the simplified API. // Template versions for all body types exist. String body = consumer.receiveBody (String.class);