[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] null oid in unsubscribe



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.

Attachment: pgpN4ffSpUAKm.pgp
Description: PGP signature