camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Outram <>
Subject MethodName in header is ignored by beanRef()
Date Fri, 17 Aug 2007 10:55:29 GMT



with "myBean" defined in the spring application context as a pojo
implementing the meathod read(String) and sending a message:

template.send("seda:in", new Processor() {
  public void process(Exchange e) {
    Message in = exchange.getIn();
    in.setHeader(BeanProcessor.METHOD_NAME, "read");

doesn't result in a call to the read() method of the bean.
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message