[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster] Message Structure ..
Arghad Arnaout wrote:
OK .. I have a question related to the message structure in XMLBlaster:
What if We want to create a topic which accepts only well defined
for example, what if I want to create a topic accepts the messages in
the following format:
<title>Title of the book</title>
<publisher>Publisher here .. </publisher>
<cover>image of the cover</cover>
I searched the requirements and examples for such thing and I found
that we need define filter plug in to do that ..
Am I right ???? or we can do that using a different way ..
Thank you .. .
Yes, a publish mime plugin is the way to go, see
it intercepts all incoming messages, does the schema check
and rejects unwanted messages.
You have to code such a plugin for your use case yourself (it is quite
Note that subscribers can further filter the messages they
receive with specific "access mime plugins" using XPath, regex etc.
Such plugins are available with xmlBlaster already.