0 Replies Latest reply on Apr 15, 2014 6:28 PM by Alexander Ryabov

    Guarantees of @Asynchronous fire-and-forget call

    Alexander Ryabov Newbie

      0 down vote  favorite  


      E.g. I want to call the @Asynchronous fire-and-forget method of service. Are there any guarantees of "firing" of this method? What will happen e.g. when server is stopped before actual firing of @Asynchronous method? Will it be fired on the next start of application? Is it possible to use other than the thread-pool implementation of @Asynchronous? Can it act as JMS queue (in persistent way)? Should I use JMS for persistence?

      Seems that we can't use @Asynchronous in any reliable system, because it doesn't provide guarantee of firing...