« Return to Thread: cannot use remote topic in composite-queue

cannot use remote topic in composite-queue

by Eric Yung :: Rate this Message:

Reply to Author | View in Thread

Hi,

Could I define a composite-queue which includes a topic defined in another router?

e.g.

in router 1, I define the topic as

  <swiftlet name="sys$topicmanager">
    <slow-subscriber-conditions>
      <topic name="t_1" max-messages="10000" persistence-mode="all"/>
    </slow-subscriber-conditions>
    <static-remote-router-subscriptions/>
    <topics>
      <topic name="t_1"/>
    </topics>
  </swiftlet>


in router 2, I define a composite-queue including the above topic

    <composite-queues>
      <composite-queue name="comp_queue">
        <queue-bindings>
          <queue-binding name="queue1"/>
          <queue-binding name="queue2"/>
        </queue-bindings>
        <topic-bindings>
          <topic-binding name="t_1"/>
        </topic-bindings>
      </composite-queue>
    </composite-queues>


I tried the above configuration and there are error message from router2's log file.

2009-05-24 18:08:46.127/sys$queuemanager/ERROR/Composite Queue 'comp_queue@router2': Topic Binding, topic 't_1' not found!



Regards,
Eric

 « Return to Thread: cannot use remote topic in composite-queue