You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Magnus Heino (JIRA)" <ji...@apache.org> on 2008/03/05 14:47:35 UTC
[jira] Commented: (CAMEL-361) @Component seems to cause configure()
being called before @EndpointInject is invoked
[ https://issues.apache.org/activemq/browse/CAMEL-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41532#action_41532 ]
Magnus Heino commented on CAMEL-361:
------------------------------------
@Componet doesn't seem to matter. Same thing if I remove @Component. (Component was only there because I injected some spring stuff also)
My context looks like this:
<camelContext>
<package>se.lantmateriet.origo</package>
<endpoint id="receiptChannel" uri="mock:updateReceipt" />
<endpoint id="updateChannel" uri="file://src/test/data/EmptyChangeTransactionWithSoap.xml?noop=true" />
<endpoint id="updateServiceChannel" uri="bean:updateService" />
</camelContext>
and in se.lantmateriet.origo.service.internal.ServiceRoutes that extends SpringRouteBuilder, configure is called before and @EndpointInject's are injected.
> @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
> Fix For: 1.3.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.