Is there a way to cancel a running AO query?
There are two cases:
This functionality is required to correctly implement Activity Streams provider that observes the timeout. I would be very glad to hear if someone has solved this yet. We're keen to go around the API with reflection etc. to get what we need.
Thanks!
Igor
Community moderators have prevented the ability to post new answers.
Your best options are to throw an unchecked exception for use case 1 and to just interupt the thread for use case 2. If the JDBC connection is waiting it should terminate on an interrupt. Reflection isn't going to help you in this situation and is strongly discouraged.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.