camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] Commented: (CAMEL-1250) Adding components from Spring DSL
Date Tue, 13 Jan 2009 09:33:59 GMT


Willem Jiang commented on CAMEL-1250:

Current camel support to get the components from registry(camel context), if you defined a
mail component bean with id "mail", camel will find it by looking for the endpoint with uri
start with "mail:".
<bean id="mail" class="org.apache.camel.component.mail.MailComponent">

if think spring also support that
<bean id="mailAilas" ref="mail">

> Adding components from Spring DSL
> ---------------------------------
>                 Key: CAMEL-1250
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-spring
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>            Priority: Minor
> Check out CAMEL-1249.
> He wants to define a new component *mailbox* that is configured purely with Spring. And
then refer to it in his routes. The issues is that its refered to without any scheme, so Camel
think its an Endpoint to be looked up in the Registry.
> We might wanna add a <component id=xxx ref=springbeanid> tag so we can add components
from Spring DSL

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

View raw message