[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster] Different problems
koen.boutsen at ibsbe.be wrote:
> I'm starting with xmlBlaster and have a lot of questions and problems.
> I'm really struggling at the moment.
> 1. Is there some kind of tutorial ?
The demo Directory is a good starting point. To get a deeper knowledge
there are the requirements.
> 2. I succeeded in publishing a file via the PublishFile class in
> xmlBlaster. Via the GetMessage class I tried to get the file back. The
> log shows me that the file I've published, is found, but I don't know
> how I can take the file back from xmlBlaster and used it in my reader
I suggest you start with the demos in the demo/javaclients/ directory
(for example HelloWorldSubscribe.java together with
HelloWorldPublish.java). These will give you more insight into xmlBlaster.
> 3. I want to use the persistence possibilities. Do I have to have a
> database on every client, or only one on the server ? What examples can
> give me help with that ?
You can configure the persistence either on the client or on the server
or on both sides.
> 4. If I publish e.g. 3 documents and the server goes down during the
> publishing of the second file, I presume that that file is put in the
> queue in the database. Via what mechanism is that file retrieved then ?
You presume right, it is queued on the client side persistency (if
configured that way). This we call failsafe behaviour which is described
in detail at the requirement:
> 5 Is there a way to make sure that the client gets those 3 documents in
> the same order I've published them ?
If the messages have the same priority (configurable in the PublishQos),
you will always have the guarantee that the messages are delivered in
the correct order.
> 6 How do I remove a message when it has ben received by a client ?
When the client acknowledges the message (i.e. the update method without
an exception), the message is removed from the queues.
> Thanks in advance.
> Best regards / Vriendelijke groeten / Cordialement,
> Koen Boutsen *
> *IBS TECHNOLOGY & SERVICES *
> Leuvensesteenweg 643, B-1930 Zaventem, Belgium
> Phone: +32 (0)2 723 91 46
> Fax: +32 (0)2 723 92 99 Mobile: +32 (0)495 38 92 13 _
> __www.ibsts.be_ <http://www.ibsts.be/>