[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] message expiration event



Joanne wrote:
Is there a special syntax for subscribing to message expiration events? I'd like to have a client that listens for message expiration events on a specific topic.


You can receive topic erase/expire events but
you can't subscribe on message instance expiry.

You can extend TopicHandler.java with a listener
and fire a messageEraseEvent() in the method
entryExpired().

Then register a native client which listens
on messageEraseEvent() and does whatever it likes
to do.

If you document it and add sufficient test cases
we will take the enhancement into the next release.

regards
Marcel

--
http://www.xmlBlaster.org