How to setup Remote Queue server?

You can expose more than one queue to remote user. Your only work is configure your queue server setting and your queue.

Here is an example of server configuration:





<?xml version="1.0" encoding="UTF-8"?>
<configuration id="queuesvr">
<section name="core">
<config name="root">queue</config>
<config name="selector"></config>
</section>

<section name="queues">
<config name="SYSTEM">
<config name="description">?</config>
<config name="queue">
<config name="ref">QUEUEROUTER:SYSTEM:default</config>
</config>
<config name="selector">inbox</config>
<config name="parameters"></config>
</config>
<config name="SYSNOTIFY">
<config name="description">?</config>
<config name="queue">
<config name="ref">QUEUEROUTER:NOTIFYSUBSCRIBER::{subscriber}:default</config>
</config>
<config name="parameters">
<config name="subscriber">subscriber</config>
</config>
<config name="selector">subscriber</config>
</config>
<config name="SUBSCRIBER">
<config name="description">?</config>
<config name="queue">
<config name="router">
<config name="selectors">
<config name="subscriber">
<config name="selector" >
<config name="type" >Message</config>
<config name="unique-id" >subscriber</config>
</config>
<config name="box">
<config name="ref">QUEUEBOX:NOTIFYSUBSCRIBER:Sync:{subscriber}:subscriber:buffer</config>
</config>
</config>
</config>
</config>
</config>
<config name="parameters">
<config name="subscriber">subscriber</config>
</config>
<config name="selector">subscriber</config>
</config>

</section>
</configuration>


No comments:

Post a Comment

CommentLuv Enabled

Followers