public class CamelProccer2 implements Processor {
public void process(Exchange exchange) throws Exception {
OutputSOATest2 out = new OutputSOATest2();
List soaList = exchange.getFromEndpoint().getEndpointKey()(List.class);
InputSOATest2 inputSOATest2 = (InputSOATest2) soaList.get(0);
out.setResult("GoodBye " + inputSOATest2.getTest().toString());
exchange.getOut().setBody(out);
}
我希望将端点名称作为此
的输出
实现了SOAP服务,它获取输入并在处理上面的输入后给出输出我附加了我的处理器代码,这里我想得到端点方法名称作为输出