On 05/03/2008, Magnus Heino <[EMAIL PROTECTED]> wrote:
> Ok, I was interpreting the error msg wrong. Configure is called before
>  @EndpointInject is injected, so updateService is null when configure is
>  called.
>
>  Is this a feature or bug? It would be nice to be able to use @EndpointInject
>  in RouteBuilders, instead of the more verbose explicit lookup.

FWIW @EndpointInject is called before the configure when not using the
@Component approach (e.g. putting the bean in the XML). Am sure
there's a way to fix this; looks like some kinda bug when using
@Component.

I've raised a JIRA to track this...
https://issues.apache.org/activemq/browse/CAMEL-361

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to