On Fri, Sep 03, 2004 at 07:08:53PM +0200, Michele Laghi wrote: > If you want to unsubscribe even when the topic is not here anymore, you > could keep the SubscribeReturnQos when subscribing (lets call it > subRet). Then when unsubscribing invoke: > > UnSubscribeKey uk = new UnSubscribeKey(glob, subRet.getSubscriptionId()); > UnSubscribeQos uq = new UnSubscribeQos(glob); > UnSubscribeReturnQos urq = con.unSubscribe(uk, uq); > > I think this is a better approach since you specify exactly which > subscription you want to remove. Ah, got it. That does look like a better way. Thanks, -Jason Martin -- Don't play stupid with me! I'm better at it. This message is PGP/MIME signed.
Description: PGP signature