Skip to content

Added route for downloading file from cloud#11

Merged
fynmanoj merged 3 commits into
openMF:masterfrom
danishjamal104:master
Aug 3, 2022
Merged

Added route for downloading file from cloud#11
fynmanoj merged 3 commits into
openMF:masterfrom
danishjamal104:master

Conversation

@danishjamal104
Copy link
Copy Markdown
Contributor

No description provided.

.process(exchange -> {
String filename = exchange.getProperty(SERVER_FILE_NAME, String.class);

byte[] csvFile = fileTransferService.downloadFile(filename, bucketName);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this also need to be handled using a stream, so that large files can be handled properly

@fynmanoj fynmanoj merged commit 96e6d0a into openMF:master Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants