Invoker invoker = (Invoker) applicationContext.getBean("invokerProxy");
String response = invoker.invoke(new Bean.SubClass());
assertEquals("Hello from Sub" , response);
camelContext.stop();
applicationContext.destroy();
}
protected AbstractXmlApplicationContext createApplicationContext() {
return new ClassPathXmlApplicationContext("org/apache/camel/spring/remoting/beanConverter.xml");
}