Hi
Either tweak the read lock change options to have higher threshold -
see the docs.
Or when you copy the file to that computer, then copy it to some other
directory / or use some other kind of name.
And then afterwards move / rename the file - as this would then do it
on the same computer/file-s
Hi,
As per my earlier mail,
We tried using :-
1.readLock - changed :- It didn't work because we are not sure about
the length and modification time of the zip.
2.readLock - rename:- It didn't worked out too.
Is there any other thing we can try to fix this.
Regards
Shashank
Hi,
You likely want to set some readLock parameter to your file consumer endpoints.
The value of that parameter depends a bit on your needs readLock=changed is
slow but reliable, readLock=fileLock is faster, but may not work reliably if
you use a shared filesystem. There are other options, so y
Hi,
Thanks for the reply.
The problem is that there are 2 separate queue listening to the same folder one
is for unzipping the file and another one is for reading the pdf's and txt's As
soon as I start copying the zip file which is of 8-10 MB, camel starts
unzipping the zip packet even before
I think your situation is a bit hard to guess unless you share your routing
details.
In case, you directly consume files by trying to unmarshall them even if
your file transfer is complete.
If you use file component, you may need to look into exclude option to
avoid consuming incomplete transferr
See simple or file language for details.
On Mon, 13 Nov 2017 at 19:29, Pakarinen, Jari
wrote:
> Hi,
>
> Thanks. I understand. How do I go about lowercasing the filename value?
>
> Jari
>
> Lähetetty Samsung Galaxy -älypuhelimesta.
>
>
> Alkuperäinen viesti
> Lähettäjä: Claus Ib
Hi Claus,
Thanks for your reply. Currently I don't explicitly instantiate the
ServletComponent either by DSL or code but have been relying on 'Camel Magic'
to do this for me, is it recommended that I explicitly create the component?
I also discovered this solution to my problem. Use this:
Hi,
Thanks. I understand. How do I go about lowercasing the filename value?
Jari
Lähetetty Samsung Galaxy -älypuhelimesta.
Alkuperäinen viesti
Lähettäjä: Claus Ibsen
Päivämäärä: 13.11.2017 17.04 (GMT+02:00)
Saaja: users@camel.apache.org
Aihe: Re: Simple language starts with
Hi
No its not possible, we have too many operators already - to add
starts with ignorecase (would be too verbose and ugly)
You can use reg-exp or you can lower-case/upper-case the value and
then use starts with in that case only.
On Mon, Nov 13, 2017 at 2:59 PM, Pakarinen, Jari
wrote:
> Hi,
>
>
Hi,
Would it be possible to have a starts with ignore case (like contains ignore
case) in the simple language ? Currently it is case sensitive. Or is there a
possibility to set the "${header.CamelFileNameOnly} to lower case somehow ?
.when(simple("${header.CamelFileNameOnly} starts with 'MyFil
Hi
If the 1st query return only 1 row, then you can set outputType=SelectOne
Then the returned value is a Map
Then you can use the column names as-is in the 2nd query
See the docs at
https://github.com/apache/camel/blob/master/components/camel-sql/src/main/docs/sql-component.adoc
On Mon, Nov 13
Hello,
Assuming the following example: I'd like to know how to control/manipulate
the variables to insert the input from the first query from table/database1
into the second table/database2.
What is the best option to manipulate $input1,$input2,$input3
Do we need a transformer or a converter?
Hi,
We am trying to unzip the zip and then reading the pdf and txt files inside
that. We are using Camel Apache with Java in our project.
The problem is occurring when we are trying to copy the zip over remote desktop
in windows, we are copying the zip directly into the hot folder(which camel is
13 matches
Mail list logo