Hello.
I'm testing routes that exist for a long time on new servers.
We use Camel 3.22.1, with a Java 17 runtime.
Executing several Camel contexts (14 in the last case) with a similar
routes pattern more than 10 times, I have some few exceptions (3
in this test batch) that are very strange :
Hello.
In camel routes that work for a long time, we sometimes have some file
that is moved to the folder that is set on the "moveFailed" folder
parameter, but without any log. As the component seems to move the
file before the exchange is given to the route, our code can't log
anything...
We sus
You can either use noop=true and have your route move the file after done
processing, or you could try adding an onComplete() that moves the file
from the error folder back into the original folder.
On Thu, Aug 18, 2022 at 12:27 AM Alexander Lex
wrote:
> Hi,
>
> I am using the c
Hi,
I am using the camel file component for an inbox processing software.
Files are read, parsed, enriched with metadata from an external service and
finally moved to an output folder.
When there is an exception with parsing the files, "moveFailed" is moving the
files to an er
Hi
Yeah that is a good question. You can write some code that does
new File(".").getAbsolutePath() and print that to system out etc.
On Tue, Jun 22, 2021 at 1:33 PM Mikael Andersson Wigander
wrote:
>
> Hi
>
> When developing and running/debugging a Spring Boot Camel Java application
> the fil
Hi
When developing and running/debugging a Spring Boot Camel Java application the
file components root seems to be default to the project root (in IDEA anyhow).
When converting to a Quarkus version the same path is now not applicable.
Where is the "default root" for the file component when runn
Hi. I'm having a pretty nasty issue with the app I'm responsible for. The app
was running on osgi/karaf + spring + apache camel 2.14.1. I removed osgi/karaf,
upgraded spring, and moved all that to the spring boot. Camel version was
upgraded to 2.24.1. And we started to see some occasional perf.
>> The file component just use the java file api so whatever it can
>> access you can use.
>>
>> Since you ask about persistence volumes do you think about kubernetes?
>>
>> On Fri, Sep 20, 2019 at 11:59 AM Onder SEZGIN
>> wrote:
>> >
>> >
> The file component just use the java file api so whatever it can
> access you can use.
>
> Since you ask about persistence volumes do you think about kubernetes?
>
> On Fri, Sep 20, 2019 at 11:59 AM Onder SEZGIN
> wrote:
> >
> > Hi,
> >
> > is there
Hi
The file component just use the java file api so whatever it can
access you can use.
Since you ask about persistence volumes do you think about kubernetes?
On Fri, Sep 20, 2019 at 11:59 AM Onder SEZGIN wrote:
>
> Hi,
>
> is there any example where camel-file component
Hi,
is there any example where camel-file component is accessing persistent
volume and writing files?
thanks
Onder
ing sequence 0
EVENT NOt KNOWN org.apache.camel.management.event.ExchangeSentEvent
EXCHANGE COMPLETED null
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5777145.html
Sent from the Camel - Users mailing list archive at Nabble.com.
DS
>
>
> method="getSequence(${header.sourcename})" />
>
>
>
>
>
>
>
>
>
> uri="bean:Dat
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5777107.html
Sent from the Camel - Users mailing list archive at Nabble.com.
DS
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5777100.html
Sent from the Camel - Users mailing list archive at Nabble.com.
erent
> bean object and not using the one I have defined in the XML.
>
> regards,
> Felix T
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5776996.html
>
.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5776996.html
Sent from the Camel - Users mailing list archive at Nabble.com.
thanks, will try that
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5776884.html
Sent from the Camel - Users mailing list archive at Nabble.com.
You can use a singleton java bean to store the state of that sequence
and then in the file route use that in a file filter to only pickup
the correct file.
You can implement a custom file filter, using the filter option, where
you can then access that singleton bean to get that sequence number.
Th
hello,
I am trying to make a scenario execute using Camel Spring DSL .
My idea is to processing some files in a numerical seq order from a
folder , after processing a file I need to check for the next file
sequence which need to be processed from DB.
The logic of get the next sequen
, Sashika wrote:
> Hi,
>
> I have a use case to use camel file component as a producer to write
files.
> In fact to append incoming messages to single file.
>
> What I observed so far is camel does not keep the file open. Instead it
> open the file, append the content and clo
e case to use camel file component as a producer to write files.
> In fact to append incoming messages to single file.
>
> What I observed so far is camel does not keep the file open. Instead it
> open the file, append the content and closes the file. This is repeated for
> every
Hi,
I have a use case to use camel file component as a producer to write files.
In fact to append incoming messages to single file.
What I observed so far is camel does not keep the file open. Instead it
open the file, append the content and closes the file. This is repeated for
every single
cool, That worked for me.
Thanks a lot.
Regards,
Nithesh
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765849.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Please use this
and let us know...
Regards,
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765751.html
Sent from the Camel - Users mailing list archive at Nabble.com.
p://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765750.html
Sent from the Camel - Users mailing list archive at Nabble.com.
gt; View this message in context:
> http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765743.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
Red Hat, Inc.
Email: ci
be set on the endpoint. Check
the uri if the parameters are spelt correctly and that they are properties
of the endpoint. Unknown parameters=[{=}]
currently configured endpoint:
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-
ml*
>
You have configured the endpoint wrong. The ? should come before the &
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765738.html
> Sent fr
se-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765738.html
Sent from the Camel - Users mailing list archive at Nabble.com.
be moved.
On Mon, Apr 13, 2015 at 2:53 PM, niteshjain wrote:
> Wanted to know , how can i use camel file component to pattern match and get
> the file ending with .xml and then later rename it to
> filename.xml.processed.
>
>
> http://camel.apache.org/schema/spring";&g
>
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765722.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
do your xml files to be picked start with a dot "." ?
The File Consumer will always skip any file whose name starts with a dot,
such as ., .camel, .m2 or .groovy.
Regards,
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file
Wanted to know , how can i use camel file component to pattern match and get
the file ending with .xml and then later rename it to
filename.xml.processed.
http://camel.apache.org/schema/spring";>
.
tried
*file:{{TEST_HOME}}/
from this method will prevent Camel from processing the
message.
- Andy
On Wed, Oct 15, 2014 at 2:16 AM, karthik.subramanian2 <
karthik.subramani...@target.com> wrote:
> I have a camel file component which looks at a unix directory where files
> are
> copied every 10 mins through
I have a camel file component which looks at a unix directory where files are
copied every 10 mins through an MFT process.
The MFT transfers around 80 files every 10 mins and then again modifies the
permissions on them.
But before the permissions are modified, the camel file component picks it
up
s we restricted route 1 for Done file
filter should execute for Done files. If not please guide me how i can
restrict routes to get specific files.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-File-Component-tp5755547p579.html
Sent from the Camel - Users mailing
After that a content based router evaluating CAMEL_FILE_NAME?
Jan
> -Ursprüngliche Nachricht-
> Von: Claus Ibsen [mailto:claus.ib...@gmail.com]
> Gesendet: Freitag, 22. August 2014 09:13
> An: users@camel.apache.org
> Betreff: Re: Camel File Component
>
> The incl
uri="file://{{file.ihub.data}}?include=*.DONE"/>
>
>
>
> Please help me how to include *.json to second route
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Cam
.nabble.com/Camel-File-Component-tp5755547p5755548.html
Sent from the Camel - Users mailing list archive at Nabble.com.
.nabble.com/Camel-File-Component-tp5755547.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Sanjay,
Thanks for the quick response. Here's the code for the route:
public class DPUBFileProcessRoute extends RouteBuilder implements
InitializingBean, DisposableBean {
public static final long READ_LOCK_TIMEOUT = 1;
public static final String DPUB_PRF_SVC_CD = "DPUB";
p
Nothing seems to be wrong with the code. Can you show the route?
Thanks,
Sanjay
On Tue, Jan 14, 2014 at 4:51 AM, Douglas Slattery wrote:
> Hi,
> I'm not sure if this is the correct place to post
> this, but I stumbled on it looking for an answer to my problem...
> I have a wierd situation with
Hi,
I'm not sure if this is the correct place to post
this, but I stumbled on it looking for an answer to my problem...
I have a wierd situation with a Camel route file
component where the content was being read and now does not appear to be
so.
I've observed the situation from the following cod
ok. As long as this is the way it is meant to work. thank you. yes making
your change worked.
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-File-component-preMove-move-and-moveFailed-relative-rather-than-absolute-tp5744592p5744632.html
Sent from the Camel
.error=src/inbox/items/error
> filename.item.trigger=NEWFILES.TRG
>
> I've actually tried this but the directory structure that was created was
> nasty. lol
>
> thanks for your help.
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Apache-Camel-File-component-preMove-move-and-moveFailed-relative-rather-than-absolute-tp5744592.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
box/items/error
filename.item.trigger=NEWFILES.TRG
I've actually tried this but the directory structure that was created was
nasty. lol
thanks for your help.
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-File-component-preMove-move-and-moveFailed-relativ
file.
>
> I an using camel 2.12.
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-File-component-should-not-rename-file-when-an-exception-is-thrown-tp5742284.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
.nabble.com/Camel-File-component-should-not-rename-file-when-an-exception-is-thrown-tp5742284.html
Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Correct-use-of-idempotentKey-in-the-Camel-file-component-tp5738759.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@r
ng or does the documentation contain a mistake?
Frans
--
View this message in context:
http://camel.465427.n5.nabble.com/Correct-use-of-idempotentKey-in-the-Camel-file-component-tp5738759.html
Sent from the Camel - Users mailing list archive at Nabble.com.
any other component
> that will help me achieve this?
>
> regards
> D
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Using-Camel-File-component-to-Poll-a-directory-but-not-read-the-files-tp5737510.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Dale King
but I need
> a notification message (with the file name)
>
> Is there a way to achieve this using File component? or any other component
> that will help me achieve this?
>
> regards
> D
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nab
this message in context:
http://camel.465427.n5.nabble.com/Using-Camel-File-component-to-Poll-a-directory-but-not-read-the-files-tp5737510.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ock the file will moved to the appropriate directory under temp.
>
> Am I doing something wrong, what is the behavior I should expect?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-file-component-preMove-creates-directory-before-read-lock
directory under temp.
Am I doing something wrong, what is the behavior I should expect?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-file-component-preMove-creates-directory-before-read-lock-acquired-tp5728193p5730176.html
Sent from the Camel - Users mailing list
context:
http://camel.465427.n5.nabble.com/Camel-file-component-preMove-creates-directory-before-read-lock-acquired-tp5728193p5728197.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Mon, Jan 30, 2012 at 1:15 PM, ckiran wrote:
> Hi,
>
> Is the Camel File Component thread safe, can I use file component on the
> server to append to a file, based on requests it recieves.
>
Yes if you use a fairly new version of Camel.
We fixed that like 1 year ago or thereab
Hi,
Is the Camel File Component thread safe, can I use file component on the
server to append to a file, based on requests it recieves.
-KC
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-File-Component-tp5441269p5441269.html
Sent from the Camel - Users mailing list
Just please ignore the mail below and save me the embarassment. This will
teach me not to send emails at 3:00am in the morning.
Thanks,
Tarun
On Thu, Dec 9, 2010 at 3:07 AM, Tarun Ramakrishna wrote:
> Hi all,
>
> I have a puzzler and I thought I would throw it to the list before
> going into ca
Hi all,
I have a puzzler and I thought I would throw it to the list before
going into camel debugging.
I have a custom mapping processor that given an Exchange, takes its
payload, split it to several payloads, creates an array list of byte[]
and sets them back into the IN message of the exchange.
ml_data_file is located within src/main/resources/data, and
> is included in the jar's classpath.
>
> Is the syntax correct ?
>
> Are there any extra steps required to configure camel so it can locate the
> file from whithin the jar?
>
> Thank you.
> Alex.
> --
&g
om whithin the jar?
Thank you.
Alex.
--
View this message in context:
http://www.nabble.com/Using-camel-file-component-within-a-jar-to-read-a-file-tp25652040p25652040.html
Sent from the Camel - Users mailing list archive at Nabble.com.
63 matches
Mail list logo