[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: Bug fix
> -----Ursprüngliche Nachricht-----
> Von: ruff at swand.lake.de [mailto:ruff at swand.lake.de]
> Gesendet: Mittwoch, 23. Februar 2000 13:02
> An: Konrad Krafft
> Betreff: Re: Bug fix
>
>
> Konrad Krafft wrote:
> >
> > Hello,
> >
> > I fixed a problem with non existing keys in the xmlBlaster.
> > Description:
> > If you call a 'get' on an non existing key in the xmlBlaster, it throws
> > a null pointer exception. This causes problems in my programs
> > because my client only gets a CORBA NO_IMPLMENT Exception.
> >
> > solution:
> > I fix this problem by throwing an XmlBlasterException.
> > There might be better ways but this was the fastet solution.
>
> Hmm, thanks for finding/locating/fixing the bug.
> But the philosophy in xmlBlaster is another:
>
> If you subscribe to a yet unknown message with an exact key-oid,
> this subscription is accepted. If later a data source publishes
> this message, you will get this updated.
Oh yes, I remember this philosophie ;-)
But I didn't use a subscription, I just want to get a special entry
in the xmlBlaster-DOM.
The difference is, a subscription generates no MessageUnit, a 'get' does.
Konrad
>
> So it is not important, *when* you subscribe, before or after
> a data source published a message.
>
> This decoupling is very important in MOM.
>
> Marcel
>
>
> >
> > Konrad
> >
> >
>
> --
> Marcel Ruff
> ruff at swand.lake.de
> http://www.lake.de/home/lake/swand/
> http://www.xmlBlaster.org
>
BEGIN:VCARD
VERSION:2.1
N:Krafft;Konrad
FN:Konrad Krafft
ORG:doubleSlash Net-Business GmbH
TITLE:Dipl. Inform
TEL;WORK;VOICE:07541-6047-100
TEL;WORK;FAX:07541-6047-111
ADR;WORK:;;Müllerstrasse 12/1;Friedrichshafen;BW;88045;Germany
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:M=FCllerstrasse 12/1=0D=0AFriedrichshafen, BW 88045=0D=0AGermany
URL:
URL:http://www.doubleslash.de
EMAIL;PREF;INTERNET:konrad.krafft at doubleslash.de
REV:20000211T150810Z
END:VCARD