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