camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: how to define/use multiple properties file in a camel route
Date Mon, 28 Oct 2013 19:20:06 GMT
No only one and it should have id="properties"

On Mon, Oct 28, 2013 at 7:35 PM, javakurious <javakurious@gmail.com> wrote:
> Hello,
>
> Can I define multiple properties file to be used in camel configuration ?
>
>     <bean id="config"
> class="org.apache.camel.component.properties.PropertiesComponent">
>         <property name="location"
> value="classpath:META-INF/spring/camel-config.properties"/>
>     </bean>
>     <bean id="properties"
> class="org.apache.camel.component.properties.PropertiesComponent">
>         <property name="location"
> value="classpath:META-INF/spring/country-code-mapping.properties"/>
>     </bean>
>
> The id with "properties" work fine, but config is not being resolved.
>
> I am using camel. 2.12.1
>
>
> Vineet
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/how-to-define-use-multiple-properties-file-in-a-camel-route-tp5742326.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message