camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnus Heino (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-361) @Component seems to cause configure() being called before @EndpointInject is invoked
Date Tue, 13 May 2008 08:53:44 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42768#action_42768
] 

Magnus Heino commented on CAMEL-361:
------------------------------------

I'm not sure I understand.

Create a class that extends SpringRouteBuilder.

Add @EndpointInject to inject endpoints created in the camelcontext, as the xml above.

Now, SpringRouteBuilder.configure is called before @EndpointInject is populated, so it is
not possible to refer to the endpoints when you configure the route.

Ok?

/Magnus

> @Component seems to cause configure() being called before @EndpointInject is invoked
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-361
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-361
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message