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

Re: [xmlblaster-devel] about persistent mechanism in xmlblaster



Hi Zhang,

zhang wrote:
Hello, sir
I use the persistence mechanism in XmlBlaster and have the following problem:
1) the message have been sent to subscribe succesful, and stored in database.
the problem is : when the xmlblaster server will delete the message in database?


a) The message in the callback queue should be removed once the acknowledge of the subscriber's update (or the fake ack from the protocol driver) method has reached the server.

b) The topic is removed when the topic expires.

c) The history entries are kept depending on what specified in the publish qos but should also be removed once the topic is removed.

 2) the xmlblaster send message to subscriber
    but the subscriber's update method doesnot return RET_OK,
     will the xmlBlaster Server resend the message to the failed subscriber?
Yes it will retry until the maximum number of retries has been reached. Thereafter it will generate a dead message and remove the entry from the queue.

3) use the persistence mechanism, when the message content is bigger the database report error.
Mmm, sounds a limitation in the DB you are using. Could you send us the size of the message, the DB used and the error description ?

Saluti
Michele




================================================================
°²È«Îȶ¨´óÈÝÁ¿£¬ÊÕ·ÑÒÁÃöùÃâ·Ñ30ÈÕÍêÃÀÌåÑé~        http://vip.163.com
Öйú×î´óµÄÃâ·ÑÓÊÏäÔÚµÈÄã 25Õ׿ռä 4Õ׸½¼þ£¡        http://mail.163.com
ÍøÒ×ÅÝÅÝ°ËÔ¾ÞÏ×£º200ÌõÃâ·Ñ¶ÌÐÅÈÎÄã·¢£¡            http://popo.163.com




--
Michele Laghi
mailto:laghi at swissinfo.org
tel. +46 8 7492952 / mob. +46 70 4103964
http://www.geocities.com/laghi2000
http://www.xmlBlaster.org