camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Correct use of camelproxy?
Date Mon, 24 Sep 2012 07:49:34 GMT
On Mon, Sep 24, 2012 at 3:43 AM, zuff <> wrote:
> Hi All,
>    I managed to get the route to work. However, I did this by annotating
> @Produce(uri="direct:resultProcessor") on the resultProcessor instance
> variable in the controller class. Is it possible to decouple camel from the
> code, and just use the camelContext.xml for configuration?

Yes it can be all done in the XML file only. You would need though in
the XML to setup IoC for the proxy by its id, eg
where you need to use it, you need to inject the bean by id
"resultProxy". eg standard spring bean IoC stuff.

> Thanks and Best Regards,
> Zuff
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message