Hi

Thanks for pointing out.

Can you create a ticket in JIRA with your issue, so we can look into
it in the future.
Got a lot on my hands currently.

And I would like to know what the behavior is when using pure Spring
as I Camel is just a thin layer on top.
And could you try declaring your exception and try again.

Also try with letting your interface extend java.rmi.Remote and
declare it to throw RemoteException as the good old RMI days.


On Thu, Aug 6, 2009 at 12:28 PM, akuhtz<[email protected]> wrote:
>
> 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.
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to