[jdev] Cancelling an iq query

Ralph Giles giles at onlinegamegroup.com
Mon Aug 29 17:00:42 CDT 2005


On Mon, Aug 29, 2005 at 08:39:33PM +0200, Ralph Meijer wrote:

> > I think the point here, is that nothing stops you from writing an
> > AdHoc command that returns a list of currently executing commands, and
> > allows you to pick on, and cancel it.

So you'd be querying by your jid and the iq id for the original request?

> Sure, you could use JEP-0050 for that, but that wasn't the complete
> problem of the other Ralph. He wanted to be able to cancel a placed
> request *and* still receive results asynchronously. Or do you propose
> not replying to the original <iq/> until the request has indeed been
> completed or cancelled?

Actually, that would work for us. It's nice having teh query 
sanity-checked, but the important thing is to be able to cancel
and/or modify. It's fine if the reply comes back either when
the results are available, or after the ad hoc cancel command
has killed the query.

I'm not clear that it's ligher weight than the transaction
semantics though...

 -r



More information about the JDev mailing list