for it.
>
> This seems to be working for me.
>
>
> request.body.replace("\\","")
>
>
> Thanks again!
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/String-replacement-via-Spring-tp
465427.n5.nabble.com/String-replacement-via-Spring-tp5719498p5719623.html
Sent from the Camel - Users mailing list archive at Nabble.com.
dira\\dirb";
> System.out.println(path);
> System.out.println(path.replaceAll("foo","bar"));
>}
> }
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/String-replacement-via-Spring-tp5719498p
blic static void main(String[] args) {
String path = "E:\\root\\dira\\dirb";
System.out.println(path);
System.out.println(path.replaceAll("foo","bar"));
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/String-r
esn't seem like a
>> "restful"way of doing things.
>>
>> Another approach would be to URL encode the file path, but I can't seem to
>> find a way to do that in Spring either. I am very new to Camel, so I am just
>> hoping that I am missing somethin
be to URL encode the file path, but I can't seem to
> find a way to do that in Spring either. I am very new to Camel, so I am just
> hoping that I am missing something simple.
>
> Thank you for the response and sorry for not being clear enough in my
> previous post.
>
>
&g
am very new to Camel, so I am just
hoping that I am missing something simple.
Thank you for the response and sorry for not being clear enough in my
previous post.
--
View this message in context:
http://camel.465427.n5.nabble.com/String-replacement-via-Spring-tp5719498p5719590.html
Sent from the Camel - Users mailing list archive at Nabble.com.
> I am guessing that I am hitting some limitations of the Simple language?
> Both .replaceAll and .replace seems to work fine when put into a simple Java
> program.
Please next time provide us the minimal example demonstrating the issue.
For example here is the minimal example demonstrating that
t;,"FileName":"TestFile.txt","FileSize":"14"}]/
I am guessing that I am hitting some limitations of the Simple language?
Both .replaceAll and .replace seems to work fine when put into a simple Java
program.
--
View this message in context:
http://camel.465427.n5.nabble.com/String-replacement-via-Spring-tp5719498p5719540.html
Sent from the Camel - Users mailing list archive at Nabble.com.
;
> Thank you.
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/String-replacement-via-Spring-tp5719498.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
FuseSource
Email: cib...@fuse
message in context:
http://camel.465427.n5.nabble.com/String-replacement-via-Spring-tp5719498.html
Sent from the Camel - Users mailing list archive at Nabble.com.
11 matches
Mail list logo