0

I am working in building a real estate application using spring boot java and the application in the aws server and images uploading in s3 bucket

what i want is that when the user add a propery if the the user close the app the uploading task continue in the background and notify when complete

  • I would assume that even if you spawn another Thread; if your (Main app Thread) shutsdown, then other threads do as well. How to spawn a thread. https://stackoverflow.com/questions/12551514/create-threads-in-java-to-run-in-background – JCompetence Apr 04 '22 at 10:13

1 Answers1

0

I found a resumeUpload method looks like just you want here.

Also an upload example in the aws s3 document.

Wish this help.

izayoi
  • 129
  • 5