the problem here is that you want to have a maxEntries which is bigger than what allowed on the server side (in the xmlBlaster.properties file)
Go in your xmlBlaster.properties file in your home directory (or your working directory) look for the line:
queue/history/maxEntries
and change it adequately (it is 10 per default)
Saluti Michele
Giambattista Saldi wrote:
Hi Marcel,
There is more problem with history feature . It's true the documentations on history it's not clear. I send an administrative message to configure topic relating history <key oid="HelloWorld"/> <qos> <administrative/> <topic readonly='false' destroyDelay='60000' createDomEntry='true'> <persistence relating='msgUnitStore' type='CACHE' version='1.0' maxEntries='1000' maxBytes='4000' onOverflow='deadMessage'/> <queue relating='history' maxEntries='100' maxEntriesCache='100'/> </topic></qos>
and i think it work fine, i dump the xmlblaster and see the correct configuration on the topic. this is the console output:
[13-ott-03 16.21.24 INFO TopicHandler-/node/xmlBlaster_192_168_100_20_3412/topi c/HelloWorld] Reconfiguring message store. [13-ott-03 16.21.24 INFO TopicHandler-/node/xmlBlaster_192_168_100_20_3412/topi c/HelloWorld] Reconfiguring history queue. [13-ott-03 16.21.24 INFO TopicHandler-/node/xmlBlaster_192_168_100_20_3412/topi c/HelloWorld] New topic is ready, history/maxEntries=100, persistence/msgUnitSto re/maxEntries=1000 [13-ott-03 16.21.24 INFO TopicHandler-/node/xmlBlaster_192_168_100_20_3412/topi c/HelloWorld] Topic is successfully configured by administrative message.
after i send 100 simple message like this : key=<key oid='HelloWorld'/> qos=<qos><persistent/></qos>
the console output : [13-ott-03 16.21.29 INFO TopicHandler-/node/xmlBlaster_192_168_100_20_3412/topi c/HelloWorld] Reconfiguring message store. [13-ott-03 16.21.29 INFO TopicHandler-/node/xmlBlaster_192_168_100_20_3412/topi c/HelloWorld] Reconfiguring history queue. [13-ott-03 16.21.29 INFO TopicHandler-/node/xmlBlaster_192_168_100_20_3412/topi c/HelloWorld] New topic is ready, history/maxEntries=10, persistence/msgUnitStor e/maxEntries=100000000
Why change the history/maxEntries=10 ?
When i do a get command i get only the last 10 message and not the last 100
It's a bug or i do something wrong in the command?.
Regards Giamba
-- Michele Laghi mailto:[EMAIL PROTECTED] tel. +46 8 7492952 / mob. +46 70 4103964 http://eclettic.tripod.com http://www.xmlBlaster.org
