4 Replies Latest reply on Mar 19, 2013 10:25 AM by Crispin Boylan

    Should it be possible to share topics between different servers?

    Crispin Boylan Newbie

      From the docs it looks like topics can be used across servers, but the XSD seems to prevent this.

       

      The topic quickstart has a config like:

       

      <server name="foo">

           <machine-ref id="foo1"/>

           <machine-ref id="foo2"/>

           <service id="topica" type="topic"/>

      </server>

       

      which works fine and both instances of foo receive the info.  But shouldnt I be able to subscribe to the topic as another server as well? ie.

       

       

      <server name="foo">

           <machine-ref id="foo1"/>

           <machine-ref id="foo2"/>

           <service id="topica" type="topic"/>

      </server>

       

      <server name="bar">

           <machine-ref id="bar1"/>

           <machine-ref id="bar2"/>

           <service id="topica" type="topic"/>

      </server>

       

       

      at the moment this is disallowed as only one server can advertise a service with a given name.