Hi Is it possible to cancel a long-running @Asynchronous method?
My idea was to cancel the Future object, but according to http://tomee.apache.org/examples-trunk/async-methods/README.html "Important to note that the AsyncResult object the JobProcessor returns is not the same Future object the caller is holding. It would have been neat if the real JobProcessor could just return String and the caller's version of JobProcessor could return Future<String>, but we didn't see any way to do that without adding more complexity. So the AsyncResult is a simple wrapper object. The container will pull the String out, throw the AsyncResult away, then put the String in the *real* Future that the caller is holding." This thread also indicates that it's not defined in the EJB spec http://stackoverflow.com/questions/16493381/cannot-cancel-asynchronous-call-to-ejb Any help is welcome. [] Leo
