From: Heinrich Götzger <goetzger at gmx.net>
Reply-To: xmlblaster at server.xmlBlaster.org
To: xmlblaster at server.xmlblaster.org
Subject: Re: [xmlblaster] New to xmlBlaster and have questions...
Date: Thu, 21 Nov 2002 20:10:13 +0100 (CET)
On Thu, 21 Nov 2002, Kelli Fuller wrote:
>I am involved in developing an interface between 2 systems using
>with Java and a publish/subscribe architecture. Being new to xmlBlaster,
>have some pretty basic questions that I am hoping someone can answer for
>1. Is it possible to edit the content of a message that has been
>and is sitting in the xmlBlaster queue? Or would I have to subscribe to
>message, create an XML file containing the message's contents plus the
>I need to make, then publish that message again?
You just need to (re)publish it with the new content.
The previous content will be overridden then.
The content does not necessarily have to be XML-Data. All data you can
convert to bytes can be a content.
for more details.
>2. What exactly does unsubscribe do for me? What are some uses for it? Is
>there a way to call unsubscribe on a message that will then prevent a
>subsequent subscribe call from seeing the unsubscribed message?
You 'll have to erase the message.
But, there is some nice feature, if you subscribe to some message,
unsubscribe, disconnect, connect and then (re)subscrbe to the same
message, you will get the latest message in the queue.
excerpt from the Requirements:
On subscribe you can prevent the initial message update for existing
Imagine a message exists already in xmlBlaster. If you subscribe for this
message you will receive an initial update for this existing message
(default behavior). In some cases you want to prevent this to only receive
an update when a new message is published after subscription.
If you set the subscribe QoS to
you won't receive the initial update triggered by the subscription.