You can try defining the endpoint using spring bean style <bean id="myFileEndpoint" class="org.apache.camel.component.file.FileEndpoint"> <property name="fileName" value="\\mltpnfs13\EDI$\dev1\XE.TO.ST\"/> </bean>
And then refer to it in the from <from ref="myFileEndpoint"/> On Wed, Sep 15, 2010 at 12:50 AM, raghu.j <r_janardha...@hotmail.com> wrote: > > We have requirement setup a route to a shared drive on NAS and the folder > name on the NAS has name like > # Network Location > edi.error.report.pdf = \\mltpnfs13\EDI$\dev1\XE.TO.ST\ > edi.error.report.txt = \\mltpnfs13\EDI$\dev1\XE.TO.ST\ > > The bean is reporting errors since it is trying to pick everything after $ > as variable. > We have tried - \$ - to no luck. > > Unfortunately - there is no guarantee where the $ sign will be encountered > in the folder name - client is using this to hide folders on NAS. > > Thanks in advance for your help > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-specify-route-to-folder-with-in-actual-name-tp2839895p2839895.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus