[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster] get subscribtion without callback
Hi,
I'm starting a new thread about my favorite subject ;o)
Now I know how to make some test with XmlScript. It's a very nice and
easy tool !!
When running the following script generate that error:
[ERROR main XmlScript] Client failed: errorCode=user.configuration
message=#exported Synchronous GET on oid='tools
.chat' is not possible in offline/polling mode. See
'http://www.xmlBlaster.org/xmlBlaster/doc/requirements/client.failsafe.html'
for more de
tails.
<!--
java javaclients.script.XmlScript -requestFile xxxxx.xml
-->
<xmlBlaster>
<connect>
<qos>
<securityService type="htpasswd" version="1.0"><![CDATA[
<user>aaa</user>
<passwd>secret</passwd>
]]></securityService>
<session name="aaa/1" timeout="3600000" maxSessions="10"
clearSessions="false" />
<queue relating="connection">
<address type="XMLRPC" pingInterval="5000" retries="-1"
delay="1000" />
</queue>
<queue relating="callback" maxEntries="5" maxEntriesCache="2">
<callback type="XMLRPC" pingInterval="5000" retries="-1"
dispatcherActive="false" delay="1000">
</callback>
</queue>
</qos>
</connect>
<subscribe>
<key oid="tools.chat" />
<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>
</subscribe>
<!-- to wait that I publish a message from another client-->
<wait delay="5000" />
<get>
<key oid="tools.chat" queryType="EXACT" />
<qos>
<querySpec type="QueueQuery">
<![CDATA[maxEntries=3&maxSize=-1&consumable=true&waitingDelay=0]]>
</querySpec>
</qos>
</get>
<wait delay="1000" />
<get>
<key oid="tools.chat" queryType="EXACT" />
<qos>
<querySpec type="QueueQuery">
<![CDATA[maxEntries=3&maxSize=-1&consumable=true&waitingDelay=0]]>
</querySpec>
</qos>
</get>
<wait delay="600000000" />
</xmlBlaster>