Hi

Thanks for the reply. I think the test-case is slightly different than what
my request was. If you change the EchoPojo to inject a dynamic proxy you
will see the problem that I have (see code below).


public class EchoPojo {

    @Produce(uri = "direct:echo")
//    private ProducerTemplate service;
    private Echo service;

    @Consume(uri = "direct:start")
    public String onEcho(String name) {
//        return (String) service.requestBody(name);
        return (String) service.echo(name);
    }
    
}


-- 
View this message in context: 
http://www.nabble.com/Camel-Spring-Remoting-throwing-RuntimeException-question-tp24825646p24841441.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to