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 specify route to folder with $ in actual name
Date Thu, 16 Sep 2010 13:51:47 GMT
I found an issue on the latest version so I created a ticket
https://issues.apache.org/activemq/browse/CAMEL-3128

Are you sure you use Camel 2.0 which is a 1 year old release?
Are you not using Camel 2.3 or 2.4 ?



On Thu, Sep 16, 2010 at 3:13 PM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
> 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_janardhan70@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
>



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

Mime
View raw message