java - spring mvc upload a file and invoke a invoke a method async -
i got requirement upload file contain questions, need invoke 3rd party api , answers write file , provide link user download it. problem there can n number of question , user not wait, instead can come later see if process got finished. thinking upload file , invoke method async method has got other issues. please let me know if there way solve in spring mvc.
thanks nibin issac
you can call 3rd party api async. try following this tutorial
this tutorial contains adding support async
in project configuration , achieving async outcome through future
. hope helps.
Comments
Post a Comment