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

Re: [xmlblaster] getting new messages like a subscribtion



Michele wrote:

Hi Cyrille,

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,

I'm trying that tips, but at the subscibtion step I've got the error :
"You can't subscribe to 'tools.chat' without having a callback server"

What I've to put in the connect Qos to avoid this message.

Here is the Connect Qos :
<qos>
<session name="'username/3" timeout="3600000" maxSessions="10" clearSessions="false" />
</qos>


Here is the Subscribe Qos :
<qos>
 <meta>true</meta>
 <content>true</content>
 <multiSubscribe>false</multiSubscribe>
 <local>true</local>
 <initialUpdate>false</initialUpdate>
 <notify>false</notify>
 <querySpec type="QueueQuery" version="1.0">
  <![CDATA[maxEntries=3;maxSize=-1;consumable=true;waitingDelay=0]]>
 </querySpec>
</qos>

Here is the Get Qos :
<qos>
 <querySpec type="QueueQuery">
  <![CDATA[maxEntries=3&maxSize=-1&consumable=true&waitingDelay=0]]>
 </querySpec>
</qos>

Thanks,
Cyrille