RE: File component: RemoveOnCommit - Unknown parameter

2020-06-16 Thread Mark Harris
Update: I should have been looking here: https://camel.apache.org/components/2.x/file-component.html Corrected version: file:// ?readLock=idempotent &idempotentRepository=#messageIdRepository &inProgressRepository=#messageIdRepository &readLockRemoveOnCommit=true &readLockIdempotentReleaseDelay=

File component: RemoveOnCommit - Unknown parameter

2020-06-16 Thread Mark Harris
Hello, I'm using Camel v 2.24.2. I have a file route: file:// ?readLock=idempotent &idempotentRepository=#messageIdRepository &inProgressRepository=#messageIdRepository &RemoveOnCommit=true &readLockIdempotentReleaseDelay=5000 &delay=10s &include= When I start my application, I get the followin

simple language bodyOneLine throws error

2020-06-16 Thread shiva kumar g.v
Hi team, I am trying to use camel simple expression bodyOneLine for logging payload in single line. But it throws below error while starting the route. Camel version= 2.23.1 Code: .log(org.apache.camel.LoggingLevel.INFO,"Request Received : ${bodyOneLine}") Error: Caused by: org.apa

Re: Camel netty requestTimeout doesn't work properly

2020-06-16 Thread Zheng Feng
I just took some investigating with this issue. It looks like that the "timeout" handler is removed and has not been added until the next request. So I proposal that 1) revert some part of the fix of CAMEL-14363 to add back the codes which removes the "timeout" handler after receiving the response.

Re: simple language bodyOneLine throws error

2020-06-16 Thread Alex Dettinger
Hi Shiva, bodyOneLine was introduced since camel 3 onward, https://issues.apache.org/jira/browse/CAMEL-13674. Maybe it's time to get a ride at camel 3 https://camel.apache.org/manual/latest/camel-3-migration-guide.html ;) Alex On Tue, Jun 16, 2020 at 9:57 AM Gv, Shivakumar wrote: > Hi team,

simple language bodyOneLine throws error

2020-06-16 Thread Gv, Shivakumar
Hi team, I am trying to use camel simple expression bodyOneLine for logging payload in single line. But it throws below error while starting the route. Camel version= 2.23.1 Code: .log(org.apache.camel.LoggingLevel.INFO,"Request Received : ${bodyOneLine}") Error: Caused by: org.apache.camel.