camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CAMEL-505) make it easier to create Endpoint instances nicely via Spring XML
Date Fri, 23 Jan 2009 11:59:59 GMT

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

davsclaus edited comment on CAMEL-505 at 1/23/09 3:58 AM:
------------------------------------------------------------

TODO
To allow setting cosumer scheduler options from spring bean (delay, initialDelay etc.) *DONE*

You can do it like this:
{code}
        <property name="consumerProperties">
            <map key-type="java.lang.String">
                <entry key="initialDelay" value="2000"/>
            </map>
        </property>
{code}

      was (Author: davsclaus):
    TODO
To allow setting cosumer scheduler options from spring bean (delay, initialDelay etc.)
  
> make it easier to create Endpoint instances nicely via Spring XML
> -----------------------------------------------------------------
>
>                 Key: CAMEL-505
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-505
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 1.3.0
>            Reporter: James Strachan
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> right now its a bit tricky creating Endpoint instances in a spring XML using the <bean><property>
mechanism.
> It'd be nice to be able to configure them more easily as...
> {code}
> <bean id="foo" class="org.apache.camel.component.file.FileEndpoint">
>   <property name="foo" value="bar"/> 
>    ...
> {code}
> type stuff and have folks Spring IDE's smart complete stuff etc

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