assertExchange(exchange);
}
@Test
public void httpTrace() throws Exception {
localServer.register("/", new BasicValidationHandler("TRACE", null, null, getExpectedContent()));
Exchange exchange = template.request("http4://" + getHostName() + ":" + getPort() + "/", new Processor() {
public void process(Exchange exchange) throws Exception {
exchange.getIn().setHeader(Exchange.HTTP_METHOD, "TRACE");
}