Object response = template.requestBody("direct:start", "Start:");
assertEquals("Start:onetwothree", response);
}
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("one", new MyBean("one"));
answer.bind("two", new MyBean("two"));
answer.bind("three", new MyBean("three"));
return answer;
}