You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/01/13 10:33:59 UTC

[jira] Commented: (CAMEL-1250) Adding components from Spring DSL

    [ 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.