Re: String replacement via Spring

2012-09-23 Thread Claus Ibsen
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

Re: String replacement via Spring

2012-09-19 Thread gramanero
465427.n5.nabble.com/String-replacement-via-Spring-tp5719498p5719623.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: String replacement via Spring

2012-09-19 Thread Claus Ibsen
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

Re: String replacement via Spring

2012-09-19 Thread gramanero
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

Re: String replacement via Spring

2012-09-19 Thread James Carman
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

Re: String replacement via Spring

2012-09-19 Thread Claus Ibsen
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

Re: String replacement via Spring

2012-09-19 Thread gramanero
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.

Re: String replacement via Spring

2012-09-18 Thread Henryk Konsek
> 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

Re: String replacement via Spring

2012-09-18 Thread gramanero
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.

Re: String replacement via Spring

2012-09-18 Thread Claus Ibsen
; > 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

String replacement via Spring

2012-09-17 Thread gramanero
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.