Re: Passing properties from Camel to Java bean causes plus sign to be replaced with space

2018-11-15 Thread Henrique Viecili
the '+' represents a 'space' for URI, take a look at http://camel.465427.n5.nabble.com/URI-Escaping-in-HTTP-and-other-Producers-td4427457.html to() interprets the String as an URI as parameter, log() doesn't either escape the special URI characters, or replace it by %20 in the configuration prope

how to throw soap fault from otherwise clause? if no expected operationname found

2018-11-15 Thread Wang Yan
Hello all, how to throw soap fault from otherwise clause? if no expected operationname found. any suggestions? from(SOAP_ENDPOINT_OUT_URI ) .choice() .when(simple("${in.headers.operationName} == 'getcity'")) .to(SOAP_ENDPOINT_MOCK_CITY) .when(simple("${in.headers.operationName} == 'getcountry'"))

Re: File polling issue for filename with multiple dots

2018-11-15 Thread Alex Dettinger
Hi Guillaume, Welcome on camel 2.22.x :) I've reported issue https://issues.apache.org/jira/browse/CAMEL-12940 and provided a fix. You should be able to check the fix against 2.23.0-SNAPSHOT tomorrow, or wait for the release of CAMEL-2.22.3. Enjoy, Alex On Thu, Nov 15, 2018 at 3:17 PM DEIMAT G

File polling issue for filename with multiple dots

2018-11-15 Thread DEIMAT Guillaume
Hi guys, I'm working on un upgrade from Camel 2.6.0 to 2.22.x (yeah... this is huge step !!) and need some help for an issue with file polling. I'm not very familiar with this framework, so I'll try to give enough info to expose our issue. If I'm not, sorry for that ! Our application read file

Re: Passing properties from Camel to Java bean causes plus sign to be replaced with space

2018-11-15 Thread Zoran Regvart
Hi Jarni, yeah my mistake, sorry about that, RAW should be used for the whole endpoint property value, try with: .to("bean:ProcessExcelFile?method=RAW(processExcel({{file.name.starts}})) zoran On Tue, Nov 13, 2018 at 1:38 PM Pakarinen, Jari wrote: > > Hi, > > Thanks for the suggestion. I did not