@Test
public void testRestletProducer() throws Exception {
Map<String, Object> headers = new HashMap<String, Object>();
headers.put("id", 123);
headers.put("beverage.beer", "Carlsberg");
<BUG>Object out = template.requestBodyAndHeaders("direct:start", null, headers);
</BUG>
assertEquals("<response>Beer is Good</response>", out);
}
@Test

@Test
public void testRestletProducer() throws Exception {
Map<String, Object> headers = new HashMap<String, Object>();
headers.put("id", 123);
headers.put("beverage.beer", "Carlsberg");
String out = template.requestBodyAndHeaders("direct:start", null, headers, String.class);
assertEquals("<response>Beer is Good</response>", out);
}
@Test
