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

Re: [xmlblaster] getting new messages like a subscribtion



Michele wrote:

You could invoke a consumable get. See more about its usage on:
http://www.xmlblaster.org/xmlBlaster/doc/requirements/engine.qos.queryspec.QueueQuery.html


Hello,

Thanks to you.

Great. Now I've to understand howto do ;o)

For example, if I want all new messages for topic exact query 'foo.bar' should I do:

- connect without callback description.
- subscribe to the exact query
- then poling with

<key oid='foo.bar' queryType='EXACT'></key>
<qos>
<querySpec type='QueueQuery'>
<![CDATA[maxEntries=3&maxSize=-1&consumable=false&waitingDelay=0]]>
</querySpec>
</qos>

Is that right ?

Cyrille.