Questions tagged [camel-ftp]

Camel component for FTP/SFTP/FTPS protocols.

A camel component which provides access to remote file-systems over the FTP and SFTP protocols.

207 questions
0
votes
1 answer

Camel FTP : how to log UnknowHostException or Connection failed

I have some camel config that is this... I would expect to see some error…
jeff porter
  • 6,560
  • 13
  • 65
  • 123
0
votes
1 answer

File Object from Camel-exchange body is null in Camel FTP

The route definition is simple based on FTP2 component. Endpoint[sftp://server.com:22//path/to/file/?consumer.delay=900000&password=xxxxxx&username=user] I am trying to read a file from a FTP folder. JAXBContext jaxBContext =…
Kabira Speaking
  • 227
  • 3
  • 18
0
votes
4 answers

Camel aws-s3 not working

I am trying to create a camel route to transfer a file from an FTP server to an AWS S3 storage. I have written the following route private static class MyRouteBuilder extends RouteBuilder { @Override public void configure() throws Exception…
gotz
  • 539
  • 2
  • 8
  • 23
0
votes
1 answer

Mocking Camel http endpoint with resource stream in camel

I have a route like following from(direct:start) .process(new Processor() { @Override public void process(Exchange exchange) throws Exception { exchange.setProperty("doc_url",…
Santhosh Tangudu
  • 759
  • 9
  • 19
0
votes
1 answer

Configuring ftp endpoints in java - how to set "delay"

I have some problems to migrate xml-based camel routes to java. Running the context and routes (i am using Guice) isn't the problem. But until now i am configuring most of the endpoints via uri parameters (not in java). To be able to reuse the code…
dermoritz
  • 12,519
  • 25
  • 97
  • 185
-1
votes
2 answers

Java: Regular expression to read .dat files having syntax - 40_*_p.dat

I am getting 17 types of file having following format: 85_*_p.dat 88_*_p.dat 32_*_p.dat 40_*_p.dat 41_*_p.dat 70_*_p.dat 22_*_p.dat 23_*_p.dat 46_*_p.dat 24_*_p.dat 25_*_p.dat 26_*_p.dat 52_*_p.dat 123_*_p.dat 28_*_p.dat 29_*_p.dat 35_*_p.dat Where…
fatherazrael
  • 5,511
  • 16
  • 71
  • 155
-1
votes
1 answer

How to add log message before camel-ftp starts?

How to add log message before ftp starts ? to following route: from("ftp://...idempotentKey=..&idempotentRepository=#MyRepo&delay=..") .to("file://folder/output"); Log message should contain that ftp started. Log message should contain filter…
-1
votes
1 answer

In apache-camel, what method is used to control ftp "PUT" file behaviour when using ftp component

When I tried to put file to remote server through camel FTP component, I want to customize the PUT behavior to meet my requirement as I did for get file from remote server. However, I cannot found which method is actually performing put file to…
hk6279
  • 1,881
  • 2
  • 22
  • 32
-2
votes
1 answer

Camel K doesnt download files from FTP

I run the below Java Camel route to download new files from the FTP server, but doesn't seem to work. However, it doesn't show any errors too. The app starts with the status Routes startup summary (total:1 started:1) [2] 2021-07-22 07:03:45,885 INFO…
vvra
  • 2,832
  • 5
  • 38
  • 82
-2
votes
2 answers

Setting dynamic delay for Camel file consumer

I want to set the delay for my camel file consumer. I am using blueprint DSL. Not sure how do I set it dynamically. I want the value "1000" to be picked up from a property file.
-2
votes
1 answer

Cannot connect to SFTP uding apache camel

I am using Apache Camel 2.17.0 for picking a file from SFTP location. Its a Springboot application. I can see that after SFTP call, the SFTP user is auto locked and the error I get is, cannot connect to sftp. Is the following error because of…
J. Does
  • 11
  • 1
  • 4
-2
votes
2 answers

how to delete file in input directory and output directory

In Apache camel,if i delete a file in input directory meanwhile the same file should also be deleted in output directory automatically? am new to Apache camel please suggest me some ideas. thank you,
1 2 3
13
14