I think if you have the file inside your SU it would be something like:
  
<property name="location">
  <value>classpath:pathes.properties</value>
</property>

Regards
Lars


Am Mittwoch 15 Oktober 2008 10:02:26 schrieb Steffen Rumpf:
> Ah,
> nice work xD Do you know if I can use something like:
>     <bean id="propertyConfigurer"
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigur
>er"> <property name="location">
>          <value>file:pathes.properties</value>
>       </property>
>     </bean>
> When I have the properties file in classpath? I will try it and send a
> response if it works.
>
> Regards
> /Steffen
>
> Lars Heinemann schrieb:
> > Steffen,
> >
> > I described this in my blog some time ago.
> > See:
> > http://lhein.blogspot.com/2008/09/servicemix-and-flexible-endpoint.html
> >
> > Regards
> > Lars
> >
> > Am Mittwoch 15 Oktober 2008 09:49:06 schrieb Steffen Rumpf:
> >> Hi,
> >> my question is: Is it possible to make something like a property based
> >> configuration of the file component? In example
> >>
> >> <file:poller service="whatever:Inbox"
> >>                    endpoint="endpoint"
> >>                    targetService="whatever:Outbox"
> >>                    file="${inboxpath}"/>
> >>
> >> Where inboxpath is defined in a property file which is stored in
> >> classpath?
> >>
> >> Regards
> >> /Steffen

Reply via email to