camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: setting endpoint parameters
Date Thu, 07 Jun 2007 05:13:59 GMT
On 6/7/07, dr.jeff <jlansing@systechnologies.com> wrote:
>
> How do I set endpoint parameters, using Spring?
> I tried the following wild guess without success:
>     <!-- file endpoint -->
>     <endpoint id="poller" uri="file:///c:/tmp/test">
>       <property name="consumerProperties">
>         <props>
>           <prop key="initialDelay">15000</prop>
>           <prop key="delay">5000</prop>
>         </props>
>       </property>
>     </endpoint>

I think the main issue is that the <property> element has to be in the
spring namespace. I guess we could copy the various spring element
names (property, bean, list, map, props etc) into the Camel namespace,
but its probably cleaner to keep the camel & spring namespaces
separate.

-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message