[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster] writing a publishfilter plugin that changes message content
On Sun, Feb 23, 2003 at 07:05:49PM +0100, Marcel Ruff wrote:
> Michael Atighetchi wrote:
>
> >Hi,
> >
> >I'm trying to write a publishfilter plugin that changes message
> >content. Reading
> >http://www.xmlblaster.org/xmlBlaster/doc/api/org/xmlBlaster/engine/mime/I_PublishFilter.html
> >it seems this should be straightforward to do.
> >
> >However, I cannot figure out how to change the message's content. The
> >return value of intercept is used for determining the fate of the
> >message (deliver or reject), which doesn't help, and the MsgUnit calls
> >has not methods to change content on the message object directly.
> >
> >What's the trick to get this working.
> >
> >
> >
> >
> Ahh, the setContent() got private during the last redesign,
> i have changed it to public again.
>
> regards
Thanks
Michael
--
matighet at bbn.com BBN Technologies