multiple functioning using java and spring framework -
i using spring ,
i need send mail 10000 users.now waiting in page till mails sent.but dont want wait.i need give task class execute automatically after handover,then need continue task.
how can this?
thanks in advance...
the @async annotation
the @async annotation can provided on method invocation
of method occur asynchronously. in other words, caller return upon invocation , actual execution of method occur in task has been submitted spring taskexecutor.
Comments
Post a Comment