camel-dev mailing list archives

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

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

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:".
{code}
<bean id="mail" class="org.apache.camel.component.mail.MailComponent">
{code}

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

> Adding components from Spring DSL
> ---------------------------------
>
>                 Key: CAMEL-1250
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1250
>             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.


Mime
View raw message